User manual
CLEARjet GmbH CX-one
Brief status <SUB>
Description
Read card position and printer status.
ASCII – Code
<SUB>
HEX – Code
1A
Return-Parameter
from printer
The response is one binary character.
Bit1 (LSB): photo sensor print position
Bit2: photo sensor front position
Bit3: photo sensor back (Hopper)
Bit4: Card in print position (chipreader position)
Bit5: Printing in progress
Bit6: Card has been printed
Bit7: reserved
Bit8 (MSB): ERROR
Bit1, 2, 3 are set to “1” if photo sensor is interrupted
and cleared to “0” if sensor is free
Bit4 is set to “1” while the card remains in print position
(chipreader position) and cleared to “0” as soon as the
printhead is removed after successful print procedure.
Bit5 is set to “1” when the card movement starts (from print
position) and is cleared to “0” as soon as the printhead is
removed after successful print procedure.
Bit6 is set to “1” after a card has been printed. This bit is
cleared to “0” after a new card is inserted.
Bit7 reserved for special function (can be ”0” or “1”)
Bit8 is set to “1” when a fatal error has occurred
While the printer is in heat-up mode this bit is set too!
Note 1: If the printer is in the heat-up mode all bits are set!
Note 2: If no hopper is used, BIT3 is set permanently
Bits 6 and 8 can be cleared using the reset command
<ESC> r1
Example
<SUB>
Response (binary char.):
00010100
Printing in progress
Programmers Manual Page 23 / 53