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

Programming Manual - Page 179

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-30
continued
<LENGTH> = The response length. This length is for data only, i.e. SW1 and SW2 are not included in
response length.
<DATA> = This is the response from the card in binary form.
<SW1> = Status byte from card.
<SW2> = Status byte from card.
Note: See ISO-7816-3 for an explanation of SW1 and SW2
Response for an unsuccessful command:
<NAK><ERROR CODE>
See ‘Error Codes’ below for an explanation of possible error codes.
First byte of Smart Card command response will be either 0x06 (ASCII ACK) for successful command
completion or 0x15 (ASCII NAK) for unsuccessful command completion. For RW models only, in case
the Smart Card response was not received within specified timeout, the RW printer will send a message
“Invalid response: 80. In this case it may be required to increase the timeout setting value using a
command described later in this chapter.
Details of Smart Card Command:
{command}: S-CARD
{Operation}
The Operation command is a required element. An error will be returned if an invalid operation is
specified (see ‘S-CARD Command Response’ and ‘S-CARD Command Response Error Codes for error
codes). The possible Operation commands are:
CT_ATR: Each smart card has a unique ‘Answer To Reset, or ATR. This ATR contains information
relevant to data transmission and the card itself. This command/response has the following form:
Command:
Loading ...
Loading ...
Loading ...