Barcode command
Your printer has powerful barcode printing capabilities and includes the
following resident barcode fonts: EAN-1 3, EAN-8, Interleaved 2 of 5,
UPC-A, UPC-E, Code 39, Code 128, and POSTNET. See the barcode
commands below:
ESC ( B Select Barcode Printing
Format:
ASCII code: ESC ( B m n
Decimal: 27 40 66 m n
Hexadecimal: 1B 28 42 m n
Function:
ESC ( B n1 n2 k m s v1 v2 c data
n = (n1 + (256 × n2))
k: Select barcode
k = 0: EAN - 13, 1: EAN - 8, 2: Interleaved 2 of 5, 3: UPC - A,
4: UPC - E, 5: Code 39, 6: Code 128, 7: POSTNET
m: Module width (180 dpi)
m = 2: 2 dots, 3: 3 dots, 4: 4 dots, 5: 5 dots
s: Space adjustment value
-3 s 3 (1/360-inch units)
v1, v2: Bar length
v1 + v2 × 256 (1/180-inch units)
The v1 and v2 values are ignored when POSTNET is selected.
The long bar length of POSTNET is always 0.125 inches; the short ba r
length is always 0.050 inches.
B
R
Adonis Rev.E
A5 size Appendix B
96/12/19 pass 0

Command Lists and Character Tables B-3