Skip to content

BRLMPTPrintSettings

Settings to print on PT 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. Therefore, you receive an error if the paper size you set to this object don't correspond with a actual paper size set in your printer

This class also implements BRLMPrintImageSettings, allowing you to configure image-specific print settings.

Properties

labelSize

A label size set in your printer. You need to check/set this value before printing. For allowed values, see BRLMPTPrintSettingsLabelSize.

Declaration

@property (nonatomic) BRLMPTPrintSettingsLabelSize labelSize;

cutmarkPrint

Whether the cutmark-print is enabled or not. If YES, your printer prints cutmarks each page.

Declaration

@property (nonatomic) BOOL cutmarkPrint;

cutPause

Whether the cut-pause is enabled or not. If YES, your printer pauses after each cut. This setting is only applicable to models that cannot perform auto-cut.

Declaration

@property (nonatomic) BOOL cutPause;

autoCut

Whether the auto-cut is enabled or not. If YES, your printer cut the paper each page.

Declaration

@property (nonatomic) BOOL autoCut;

halfCut

Whether the half-cut is enabled or not. If YES, your printer cut the label excluding the sheet.

Declaration

@property (nonatomic) BOOL halfCut;

chainPrint

Whether the chain-print is enabled or not. If YES, your printer does not feed and cut the last page. This prevent redundant initial feed when your next print operation.

Declaration

@property (nonatomic) BOOL chainPrint;

specialTapePrint

Whether the special-tape-print is enabled or not. If YES, your printer always does not cut the paper.

Declaration

@property (nonatomic) BOOL specialTapePrint;

resolution

A resolution of printing. Whether or not this has an effect is depend on your printer. For allowed values, see BRLMPrintSettingsResolution.

Declaration

@property (nonatomic) BRLMPrintSettingsResolution resolution;

Declaration

@property (nonatomic) BOOL highResolutionPrint;

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;

Declaration

@property (nonatomic) BOOL forceVanishingMargin;

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

BRLMPTPrintSettingsLabelSize

Declaration

typedef NS_ENUM(NSInteger, BRLMPTPrintSettingsLabelSize) {
    BRLMPTPrintSettingsLabelSizeWidth3_5mm,
    BRLMPTPrintSettingsLabelSizeWidth6mm,
    BRLMPTPrintSettingsLabelSizeWidth9mm,
    BRLMPTPrintSettingsLabelSizeWidth12mm,
    BRLMPTPrintSettingsLabelSizeWidth18mm,
    BRLMPTPrintSettingsLabelSizeWidth24mm,
    BRLMPTPrintSettingsLabelSizeWidth36mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_5_8mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_8_8mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_11_7mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_17_7mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_23_6mm,
    BRLMPTPrintSettingsLabelSizeWidthFL_21x45mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_5_2mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_9_0mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_11_2mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_21_0mm,
    BRLMPTPrintSettingsLabelSizeWidthHS_31_0mm,
};

Deprecates

Deprecated

forceVanishingMargin