Skip to content

BRLMValidatePrintSettings

Validate your print settings.

Overview

You can use this class to validate print settings you set before printing on your printer. As a result of the validation, BRLMValidatePrintSettingsReport is returned. It has issues that are ranked as Error/Warning/Notice and has a message to resolve it. For details, see BRLMValidatePrintSettingsIssue.

Rank

Rank Description
Error This library can't print with the print settings.
Warning This library can print with the print settings. But it includes unsupported settings. These settings will be modified in the library.
Notice This library can print with the print settings. But it may includes useless settings.

Class methods

validate:

Declaration

+ (BRLMValidatePrintSettingsReport *) validate:(id<BRLMPrintSettingsProtocol>)printSettings;

Parameters

Name Type Description
printSettings id<BRLMPrintSettingsProtocol> Print settings you want to validate

Return Value

See BRLMValidatePrintSettingsReport.

Types

BRLMValidatePrintSettingsIssueRank

Declaration

typedef NS_ENUM(NSInteger, BRLMValidatePrintSettingsIssueRank) {
    BRLMValidatePrintSettingsIssueRankError,
    BRLMValidatePrintSettingsIssueRankWarning,
    BRLMValidatePrintSettingsIssueRankNotice,
};