BRLMPrinterClassifier
A class that has functions to help you use this library.
Class methods
classifyPrinterSerieseFromModel:
Classify the model into series names which are described in BRLMPrinterClassifierSeries
.
Declaration
+ (enum BRLMPrinterClassifierSeries)classifyPrinterSerieseFromModel:(BRLMPrinterModel)model;
Parameters
Name | Type | Description |
---|---|---|
model | BRLMPrinterModel | A model of your printer |
Return Value
Parameter | Description |
---|---|
BRLMPrinterClassifierSeries | enum for series names |
transferEnumFromString:
Transfer the string of printer model into an enum for the printer model.
Declaration
+ (enum BRLMPrinterModel)transferEnumFromString:(NSString*)modelName;
Parameters
Name | Type | Description |
---|---|---|
modelName | NSString * | A string value of your printer |
Return Value
Parameter | Description |
---|---|
BRLMPrinterModel | enum for printer model |
Types
BRLMPrinterClassifierSeries
Declaration
typedef NS_ENUM(NSInteger, BRLMPrinterClassifierSeries) { BRLMPrinterClassifierSeriesPJ, BRLMPrinterClassifierSeriesRJ, BRLMPrinterClassifierSeriesTD, BRLMPrinterClassifierSeriesPT, BRLMPrinterClassifierSeriesQL, BRLMPrinterClassifierSeriesMW, BRLMPrinterClassifierSeriesUnknown, };