BRLMPrinterDriverGenerator
A generator to initialize BRLMPrinterDriver
.
Overview
To initialize BRLMPrinterDriver
class, you pass BRLMChannel
object to this class function. You receive an instance of BRLMPrinterDriver
if connecting to your printer is successful.
Class methods
openChannel:
Return BRLMPrinterDriverGenerateResult
object that contains a result of the initialization and BRLMPrinterDriver
instance if the result is NoError.
Declaration
+ (BRLMPrinterDriverGenerateResult *)openChannel:(BRLMChannel *)channel;
Parameters
Name | Type | Description |
---|---|---|
channel | BRLMChannel * | Channel type and channel information |
openChannel:withCredential:
Return BRLMPrinterDriverGenerateResult
object that contains a result of the initialization and BRLMPrinterDriver
instance if the result is NoError.
Declaration
+ (BRLMPrinterDriverGenerateResult *)openChannel:(BRLMChannel *)channel withCredential:(BRLMChannelCredential *)credential;
Parameters
Name | Type | Description |
---|---|---|
channel | BRLMChannel * | Channel type and channel information |
credential | BRLMChannelCredential * | Credential for authentication (required for operations that need authentication, such as network transfer) |