User manual

CLEARjet GmbH CX-one
Get card from hopper <ESC>c
Description
The printer gets a card from the hopper. This command
works only on special models with a card hopper module.
ASCII – Code
<ESC>c
HEX – Code
1B 63
Eject card on backside <ESC>%h
Description
The printer ejects the card after printing at the backside of
the printer. This command works only on special models.
ASCII – Code
<ESC>%h
HEX – Code
1B 25 68
Capture card <ESC>Y
Description
This command ejects the card at the rear side of the
printer. This command can be used to capture cards and
can only be used in conjunction with specific hardware.
ASCII – Code
<ESC>Y
HEX – Code
1B 59
Read direction detector <ESC>#
Description
This command reads the position of optical card marks to
detect the correct insertion direction. This feature is used
especially for contactless cards to check if the card has
been inserted correctly for printing.
Note: The smallest element has to be at least 0.3 mm
thick. For further information please refer to document “CX-
one user manual”.
ASCII – Code
<ESC>#
HEX – Code
1B 23
Return-Parameter
from printer
Response: [aabbccdd]
the position of the marks can be calculated from the
response value. Each number divided by 5 gives you the
distance in mm to the card edge.
aa: 1. mark position bb: 2. mark position
cc: 3. mark position dd: 4. mark position
Example
<ESC>#
Response: 25400000
Result:
distance 1
st
mark 5 mm (25/5)
distance 2
nd
mark 8 mm (40/5)
No 3
rd
and 4
th
mark were detected
Programmers Manual Page 41 / 53