42
Advanced commands
ESC i B Bar code
[ASCII] ESC i [parameters] B or b [bar code data] backslash
[Decimal]
27 105 [parameters] 66 or 98 [bar code data] 92
[Hexadecimal]
1B 69 [parameters] 42 or 62 [bar code data] 5C
[Parameters]
①
[Parameters]: Bar code parameters
T or t (type)
t0:
CODE39
t1:
ITF
(I-2/5)
t2:
EAN-13
t3:
EAN-8
t4:
UPC-A
t5:
EAN-8 (when the bar code data contains 7 characters)
UPC-A (when the bar code data contains 11 characters)
EAN-13 (when the bar code data contains 12 characters)
* The check digit mark “?” is not included in the number of
characters.
t6:
UPC-E
t9:
CODABAR
ta:
CODE128
tb:
GS1-128
(UCC/EAN-128)
tc:
RSS
symbols
s
(style)
Ignored
p (number of passes)
Ignored
R or r (characters below bar code)
r0:
OFF
r1:
ON
u (units of measurement) Ignored
x (horizontal position)
Ignored
y (vertical offset) Ignored
h
(height)
h n1 n2
Height = n1 + n2 * 256 (dots)