ZSDK_API
1.4.957
|
This is a utility class for performing printer actions. More...
#import <ToolsUtil.h>
Instance Methods | |
(BOOL) | - calibrate: |
Sends the appropriate calibrate command to the printer. | |
(BOOL) | - restoreDefaults: |
Sends the appropriate restore defaults command to the printer. | |
(BOOL) | - printConfigurationLabel: |
Sends the appropriate print configuration command to the printer. | |
(BOOL) | - sendCommand:error: |
Sends the specified command to the printer. | |
(BOOL) | - reset: |
Sends the appropriate reset command to the printer. | |
This is a utility class for performing printer actions.
(Restore defaults, calibrate, etc.).
- (BOOL) calibrate: | (NSError **) | error |
Sends the appropriate calibrate command to the printer.
error | Will be set to the error that occured. |
- (BOOL) printConfigurationLabel: | (NSError **) | error |
Sends the appropriate print configuration command to the printer.
error | Will be set to the error that occured. |
- (BOOL) reset: | (NSError **) | error |
Sends the appropriate reset command to the printer.
Note: You should call close (ZebraPrinterConnection-p) after this method, as resetting the printer will terminate the connection.
error | Will be set to the error that occured. |
- (BOOL) restoreDefaults: | (NSError **) | error |
Sends the appropriate restore defaults command to the printer.
error | Will be set to the error that occured. |
- (BOOL) sendCommand: | (NSString *) | command | |
error: | (NSError **) | error | |
Sends the specified command to the printer.
command | The command to send to the printer. |
error | Will be set to the error that occured. |