Bar Codes
The Extech 4500THS printer supports several bar code symbologies. Two
commands are defined for printing bar codes.
Bar Code Command Formats
All barcodes are printed with the minimum bar width ( “x-dimension”) of
0.250mm, in compliance with the respective official specification.
Code 39 specifications
Description:
Each symbol starts with Leading Quiet Zone, followed
with Start Symbol, Data Symbols, ending with Stop
Symbol and Trailing Quiet Zone.
Character set
:
36 alphanumeric (0-9, A-Z) and '-' 'space' '$' '/' '+' '%'
Note:
Only
capital
letters are supported.
Elements per symbol
:
9 (5 bars, 4 spaces)
Character density
: 6.25
CPI
Bar width
:
0.25mm (narrow to wide ratio of 1:3).
Characters per line
: 9 with auto center (maximum).
Command String
Printer Output
Esc-‘Z’-‘1’-0x07- 0x0a-‘CODE-
39’
Prints CODE -39, 1mm high
CODE 39 Example
Bar Code
Command
Formats
Printer
Action
Command String Components
Esc- ‘z’-n1-
n2-L-[data]
Prints
Bar code
only
Esc- ‘Z’-n1-
n2-L-[data]
Prints
Bar code
and
ASCII
visible
n 1 bar code type
‘1’ Code 39
‘2’ Code 128
‘3’ I 2 of 5
‘4’ Not Supported right now
‘5’ Codabar
n2 number of character bytes in data array 1-255
L Height of bar code printed in increments of 0.125mm