User manual
CLEARjet GmbH CX-one
2.3.6 Barcode encoding
Print barcode <ESC>z[n]{Data}<CR>
Description
This commands prints {Data} in the form of a barcode.
Use parameter [n] to select the barcode type.
Currently supported Barcode:
[n]=1: Interleaved 2/5
The number of characters has to be even.
ASCII – Code
<ESC>z[n]{Data}<CR>
HEX – Code
1B 7A [n] {Data} 0D
Mirror barcode <ESC>$b[n]
Description
Rotate barcode 180° (at same printposition).
This function is only valid for one following barcodeprint.
[n] = 1 rotate barcode 180°
ASCII – Code
<ESC>$b1
HEX – Code
1B 24 62 31
Example
<ESC>$b1
Read barcode <ESC>%b
Description
Read and decode barcode type Interleaved 2 of 5.
Note: The position and size has to fullfill the following
requirements:
The smallest element of the barcode has to be at least
0.3 mm. The Quietzones (Q) have to be at least 5mm.
Minimum vertical height of barcode: 11 mm
ASCII – Code
<ESC>%b
HEX – Code
1B 25 62
Example
<ESC>%b
Response: 123456<CR>
TOP OF CARD
min. 21 mm
y
x
max. 42mm
Q
123456
Q
max. 10 mm
print
direction
Programmers Manual Page 42 / 53