ZEBRA MZ 320 3" 4mb Direct Mobile Thermal Receipt Printer With Bluetooth

Programming Manual - Page 181

For MZ 320.

PDF File Manual, 497 pages, Read Online | Download pdf file

MZ 320 photo
Loading ...
Loading ...
Loading ...
Mobile Printing Systems
CPCL Programming Manual
Section 10
Advanced
Utilities
pg. 10-32
continued
Example: ! U1 S-CARD CT_DATA 10 8010000008
Normally the response to this command might appear as follows:
<0x06><0x10><0x01><0x02><0x03><0x04><0x05><0x06>...
Where <0x06> represents <ACK>
<0x10> indicates there are 16 bytes (0x10 = 16 decimal) of data in the reponse:
! U1 S-CARD ASCII CT_DATA 10 8010000008
The response would read:
<0x06><10><010203040506...>
Other than the 0x06 (ACK), each byte represents a nibble and each pair of ASCII bytes corresponds to a
binary byte.
QUERY
This option tells the printer to hold the response from the card reader. The data will only be returned
with the CT_QUERY operation. this option is only available with the TDA8029 and SCR135 readers.
DEBUG-ON
Enables debug on the printer. This will cause some debug messages to print out during communication
with the printer/card reader.
Error Codes
Errors from the S-CARD command are of the following format (NAK is hex value of 0x15):
<NAK><ERROR CODE> Where <ERROR CODE> is any of the following are possible error codes. (Please
note that error codes for Cameo “SC” and Road Warrior models are different):
Cameo “SC” Smart Card Error Codes:
<0x02> = Protocol not supported (card is not using T=1 protocol)
<0x10> = No card detected
<0x11> = Invalid drive type (currently only the Towitoko CHIPDRIVE micro is supported)
<0x12> = Invalid operation
Loading ...
Loading ...
Loading ...