Skip to content

BRLMTemplatePrintSettingsProtocol

A protocol to set template-print settings.

Overview

All template-print settings classes inherit from this protocol. They provide a method to generate default print settings. Basically, you use this to initialize your print settings object, then you set new values for your data and printer.

Instance methods

initDefaultPrintSettingsWithPrinterModel:

Initialize an object inheriting from this protocol with your printer model.

Declaration

- (nullable instancetype)initDefaultPrintSettingsWithPrinterModel:(BRLMPrinterModel)model;

Parameters

Name Type Description
model BRLMPrinterModel A model of your printer

copyWithPrinterModel:

Copy the object with changing specified printer model.

Declaration

- (nullable instancetype)copyWithPrinterModel:(BRLMPrinterModel)model;

Property

printerModel

A printer model you passed to the initialize method. For allowed values, see BRLMPrinterModel.

Declaration

@property (nonatomic) BRLMPrinterModel printerModel;

numCopies

The number of copies you print.

Declaration

@property (nonatomic) NSUInteger numCopies;