PrinterDriverGenerator
A generator to initialize PrinterDriver.
Overview
To initialize PrinterDriver class, you pass Channel object to this class function. You receive an instance of PrinterDriver if connecting to your printer is succeeded.
Class methods
openChannel
Return PrinterDriverGenerateResult object that contain a result of the initialization and PrinterDriver instance if the result is NoError.
Declaration
public static PrinterDriverGenerateResult openChannel(final Channel channel);
Parameters
| Name | Type | Description |
|---|---|---|
| channel | Channel | Channel type and channel information |