P10-36 Mobile Printer CPCLProgramming Manual
card (in binary form).
<SW1> = Status byte from card
<SW2> = Status byte from card
Note: See ISO-7816-3 for an explana-
tion of SW1 and SW2
Response for an unsuccessful command:
<NAK><ERROR CODE>
See ‘Error Codes’ below for an explana-
tion of possible error codes.
CT_CLOSE: This command will power down the
reader and turn off the red LED on the
smartcard module. This command
should be used after communicating to
the card with the CT_DATA command.
DEBUG-ON: Enables debug on the printer. This
will cause some messages to print out
as the printer configures itself for pass-
through mode. The messages printed
relate to port parameters for the internal
communication port communicating with
the Smartcard reader and a message
will also print out when the printer has
been taken out of pass-through mode.
Once in ‘pass-through’ mode, no debug
messages are printed.
Error Codes
Errors from the S-CARD command are of the following
format:
<NAK><ERROR CODE>
Where any of the following are possible error codes:
<0x02> = Protocol not supported (card is
not using T=1 protocol)
<0x10> = No card detected
continued