Skip to content

BRLMPrinterModelSpec

Information about your printer.

Overview

Use this class to get static information about your printer.

Instance methods

initWithPrinterModel

Instantiate this class using a BRLMPrinterModel which you want information about.

Declaration

- (instancetype)initWithPrinterModel:(BRLMPrinterModel)printerModel;

Parameters

Name Type Description
printerModel BRLMPrinterModel Target printer model

Properties

Xdpi

The resolution of the printer in the scanning direction (x-direction) in dots per inch.

Declaration

@property (nonatomic, readonly) double Xdpi;

Ydpi

The resolution of the printer in the paper feed direction (y-direction) in dots per inch.

Declaration

@property (nonatomic, readonly) double Ydpi;

modelCode

The model code of the printer.

Declaration

@property (nonatomic, readonly) int modelCode;

seriesCode

The series code of the printer.

Declaration

@property (nonatomic, readonly) int seriesCode;

supportedQLLabels

An array of supported QL label sizes. Returns an empty array if QL labels are not supported.

Declaration

@property (nonatomic, readonly) NSArray<BRLMQLPrintSettingsLabelSizeNumber*>* supportedQLLabels;

See BRLMQLPrintSettingsLabelSize.

supportedPTLabels

An array of supported PT label sizes. Returns an empty array if PT labels are not supported.

Declaration

@property (nonatomic, readonly) NSArray<BRLMPTPrintSettingsLabelSizeNumber*>* supportedPTLabels;

See BRLMPTPrintSettingsLabelSize.