ZSDK_API
1.4.957
|
An interface used to obtain various properties of a Zebra printer. More...
#import <ZebraPrinter.h>
Public Types | |
enum | PrinterLanguage { PRINTER_LANGUAGE_ZPL, PRINTER_LANGUAGE_CPCL } |
Enumeration of the various printer control languages supported by Zebra printers. More... | |
Instance Methods | |
(PrinterLanguage) | - getPrinterControlLanguage |
Returns the printer control language (ZPL or CPCL) of the printer. | |
(id< FormatUtil, NSObject >) | - getFormatUtil |
Returns an instance of a FormatUtil object which contains convenience methods to interact with formats on a Zebra printer. | |
(id< FileUtil, NSObject >) | - getFileUtil |
Returns an instance of a FileUtil object which contains convenience methods to interact with files on a Zebra printer. | |
(id< GraphicsUtil, NSObject >) | - getGraphicsUtil |
Returns an instance of a GraphicsUtil object which contains convenience methods to print images to a Zebra printer. | |
(PrinterStatus *) | - getCurrentStatus: |
Returns a new instance of PrinterStatus that can be used to determine the status of a printer. | |
(id< MagCardReader, NSObject >) | - getMagCardReader |
Returns an instance of a MagCardReader object which contains convenience methods for accessing the printer's magnetic card reader. | |
(id< SmartCardReader, NSObject >) | - getSmartCardReader |
Returns an instance of a SmartCardReader object which contains convenience methods for accessing the printer's smart card reader. | |
(id< ToolsUtil, NSObject >) | - getToolsUtil |
Returns an instance of a ToolsUtil object which contains convenience methods to perform printer actions. | |
An interface used to obtain various properties of a Zebra printer.
How to create an instance of a ZebraPrinter.
- (enum) PrinterLanguage |
- (PrinterStatus *) getCurrentStatus: | (NSError **) | error |
Returns a new instance of PrinterStatus
that can be used to determine the status of a printer.
Each invocation of this method will result in a query of the connected printer. If more than one status value is to be read, it is recommended that a copy of PrinterStatus
is stored locally.
Note: This method must be invoked again to retrieve the most up-to-date status of the printer. The PrinterStatus
object will only query the printer upon creation.
error | Will be set to the error that occured. |
- (id<FileUtil, NSObject>) getFileUtil |
- (id<FormatUtil, NSObject>) getFormatUtil |
Returns an instance of a FormatUtil
object which contains convenience methods to interact with formats on a Zebra printer.
FormatUtil
object that provides methods to interact with formats on a Zebra printer. - (id<GraphicsUtil, NSObject>) getGraphicsUtil |
Returns an instance of a GraphicsUtil
object which contains convenience methods to print images to a Zebra printer.
GraphicsUtil
object that provides methods to print images to a Zebra printer. - (id<MagCardReader, NSObject>) getMagCardReader |
Returns an instance of a MagCardReader
object which contains convenience methods for accessing the printer's magnetic card reader.
- (PrinterLanguage) getPrinterControlLanguage |
Returns the printer control language (ZPL or CPCL) of the printer.
- (id<SmartCardReader, NSObject>) getSmartCardReader |
Returns an instance of a SmartCardReader
object which contains convenience methods for accessing the printer's smart card reader.
- (id<ToolsUtil, NSObject>) getToolsUtil |