Skip to content

BRLMPJPrintSettingsPaperSize

A class to set custom paper size for PJ series.

Overview

PJ series supports printing on standard size papers and other papers. For printing on the non fixed size papers, see BRLMPJPrintSettingsPaperSize.

Instance methods

initWithPaperSizeStandard:

Initialize this object with a standard paper size. For allowed values, see BRLMPJPrintSettingsPaperSizeStandard.

Declaration

- (instancetype)initWithPaperSizeStandard:(BRLMPJPrintSettingsPaperSizeStandard) paperSizeStandard;

Parameters

Name Type Description
paperSizeStandard BRLMPJPrintSettingsPaperSizeStandard Standard paper size

initWithCustomPaper:

Initialize this object with a custom paper size. For allowed values, see BRLMPJPrintSettingsCustomPaperSize.

Declaration

- (instancetype)initWithCustomPaper:(BRLMPJPrintSettingsCustomPaperSize *)customPaper;

Parameters

Name Type Description
customPaper BRLMPJPrintSettingsCustomPaperSize * a custom paper size class

Properties

paperSizeStandard

A standard paper size you set.

Declaration

@property (nonatomic, readonly) BRLMPJPrintSettingsPaperSizeStandard paperSizeStandard;

customPaper

A custom paper size you created. For detail, see BRLMPJPrintSettingsCustomPaperSize

Declaration

@property (nonatomic, readonly, nullable) BRLMPJPrintSettingsCustomPaperSize *customPaper;

Types

BRLMPJPrintSettingsPaperSizeStandard

Declaration

typedef NS_ENUM(NSUInteger, BRLMPJPrintSettingsPaperSizeStandard) {
    BRLMPJPrintSettingsPaperSizeStandardA4,
    BRLMPJPrintSettingsPaperSizeStandardLegal,
    BRLMPJPrintSettingsPaperSizeStandardLetter,
    BRLMPJPrintSettingsPaperSizeStandardA5,
    BRLMPJPrintSettingsPaperSizeStandardA5_Landscape,
    BRLMPJPrintSettingsPaperSizeStandardCustom,
};