BRLMTDPrintSettings
Settings to print on TD series.
Overview
You use this object to set parameters to your printer such as a paper size. The images or PDFs you passed to print functions in BRLMPrinterDriver
are converted to printable data for specified printer by using this settings.
This class also implements BRLMPrintImageSettings
, allowing you to configure image-specific print settings.
Properties
customPaperSize
A paper size in your printer.
For detail, see BRLMCustomPaperSize
.
Declaration
@property (nonatomic) BRLMCustomPaperSize* customPaperSize;
density
Density set to your printer. Default value is BRLMTDPrintSettingsDensityUsePrinterSetting
.
For allowed values, see BRLMTDPrintSettingsDensity
.
Declaration
@property (nonatomic) BRLMTDPrintSettingsDensity density;
peelLabel
Whether or not to enable peeling. Your printer has to support it.
Declaration
@property (nonatomic) BOOL peelLabel;
autoCut
Whether the auto-cut is enabled or not. If YES
, your printer cut the paper each page.
Declaration
@property (nonatomic) BOOL autoCut;
autoCutForEachPageCount
A number of pages to cut. Default value is 1. If set 1, printer cut the paper each print a page. If set 3, printer cut the paper every print three pages.
This value is effective when autoCut
is YES
.
Declaration
@property (nonatomic) UInt8 autoCutForEachPageCount;
cutAtEnd
Whether the cut at the end of last page of your printing is enabled or not. If YES
, printer cut the end of the label.
Declaration
@property (nonatomic) BOOL cutAtEnd;
customRecord
A printer records this value with print job when print function works with no error.
The printer must support the custom record function.
Multi-byte characters are not supported. It should be within 64 characters.
Declaration
@property (nonatomic) NSString* customRecord;
feedDirectionMargins
The margins in the feed direction. Adds the same amount to the top and bottom in the feed direction. The unit is in dots.
Declaration
@property (nonatomic) NSUInteger feedDirectionMargins;
Types
BRLMTDPrintSettingsDensity
Print density for TD series.
Declaration
typedef NS_ENUM(NSInteger, BRLMTDPrintSettingsDensity) {
BRLMTDPrintSettingsDensityWeakLevel5,
BRLMTDPrintSettingsDensityWeakLevel4,
BRLMTDPrintSettingsDensityWeakLevel3,
BRLMTDPrintSettingsDensityWeakLevel2,
BRLMTDPrintSettingsDensityWeakLevel1,
BRLMTDPrintSettingsDensityNeutral,
BRLMTDPrintSettingsDensityStrongLevel1,
BRLMTDPrintSettingsDensityStrongLevel2,
BRLMTDPrintSettingsDensityStrongLevel3,
BRLMTDPrintSettingsDensityStrongLevel4,
BRLMTDPrintSettingsDensityStrongLevel5,
BRLMTDPrintSettingsDensityUsePrinterSetting,
};