|
ZSDK_API
1.5.1049
|
Provides access to the smartcard reader, for printers equipped with one. More...
#import <SmartCardReader.h>
Instance Methods | |
| (NSData *) | - getATR: |
| Sends a CT_ATR command to the printer's smartcard reader, if present. | |
| (NSData *) | - doCommand:error: |
| Sends a CT_DATA command to the printer's smartcard reader, if present. | |
| (BOOL) | - close: |
| Turns the printer's smartcard reader off, if present. | |
Provides access to the smartcard reader, for printers equipped with one.
| - (BOOL) close: | (NSError **) | error |
Turns the printer's smartcard reader off, if present.
This call should be made after communicating with the smartcard via the doCommand:error: method.
| error | Will be set to the error that occured. |
| - (NSData*) doCommand: | (NSString *) | asciiHexData | |
| error: | (NSError **) | error | |
Sends a CT_DATA command to the printer's smartcard reader, if present.
| asciiHexData | Data to be sent to the smartcard using the CT_DATA card command. |
| error | Will be set to the error that occured. |
| - (NSData*) getATR: | (NSError **) | error |
Sends a CT_ATR command to the printer's smartcard reader, if present.
| error | Will be set to the error that occured. |