Programmer's Guide User guide

Programmer’s Guide | 1
15 Thermal Printer Programmer’s Guide
Values:
For Maxicode barcodes:
<ESC>$b#E 0x1b 0x24 0x62 <value> 0x45
Where n=
2 = Structured carrier, numeric, US
3 = Structured carrier, alphanumeric, non US
4 = Standard
5 = Full ECC
6 = Reader program
Select Barcode Terminating Current Active Position
The following will place the cursor position at the location depicted in the diagram below.
This escape sequence must be sent prior to sending any data that is to appear in the
barcode.
<ESC>$b#F 0x1b 0x24 0x62 <value> 0x46
Select Barcode Height (Decipoints)
The following will set the barcode height in decipoints with 1 decimal.
<ESC>$b#H 0x1b 0x24 0x62 <value> 0x48
If the barcode auto print is enabled prior to sending the barcode data, the height of the
barcode will include the height of any human readable text if enabled. The number of
pixels used in the barcode height will always be rounded. As an example, if the barcode
height is specified to be 97 decipoints, the number of dots used on a 300 DPI printer is
[(97 x 300)/720 = 40.417] and will round down to 40 dots. If the height is specified to be
98 [(98 x 300)/720 = 40.833] the number of dots will be 41. The default barcode height is
720 decipoints (1 inch) for linear barcodes.
Figure: 1 - 2 Terminating Current Active Position
Aztec (0-4) PDF 417 (0-8)
0 - 23%
1 - 10%
2 - 23%
3 - 36%
4 - 50%
0 - 2 Codewords
1 - 4 Codewords
2 - 8 Codewords
3 - 16 Codewords
4 - 32 Codewords
5 - 64 Codewords
6 - 128 Codewords
7 - 256 Codewords
8 - 512 Codewords
Datamaxtrix (1)
1 - ECC 200
QR Code (1-4)
1 - High Density 7%
2 - Standard Density 15%
3 - High Reliablity 25%
4 - Ultra Reliabilty 30%