CONFIDENTIAL
Paper roll Bar code commands GS k
Ver. 10.0 1 p. 345
GS k EXECUTING COMMAND
[Name] Print bar code
[Format] (A)ASCII GS k
m d1 ... dk NUL
Hex 1D 6B
m d1 ... dk NUL
Decimal 29 107
m d1 ... dk NUL
(B) ASCII GS k
m n d1 ... dn
Hex 1D 6B
m n d1 ... dn
Decimal 29 107
m n d1 ... dn
[Range] (A)0 ≤
m
≤ 6 (
k
and
d
depend on the bar code system used)
(B) 65 ≤
m
≤ 73 (
n
and
d
depend on the bar code system used)
[Printers not featuring this command] TM-U220, TM-U210, TM-U300A/B, TM-U230
[Description] Prints the bar code using the bar code system specified by
m
.
m
Bar code system
Bar code data (“SP” in the table indicates space.)
Amount
of data
The range of
kCharacters Character code (
d
)
(A)
0 UPC-A Fixed 11 ≤
k
≤ 12 0~9 48 ≤
d
≤ 57
1 UPC-E Fixed 11 ≤
k
≤ 12 0~9 48 ≤
d
≤ 57
2 JAN13 (EAN13) Fixed 12 ≤
k
≤ 13 0~9 48 ≤
d
≤ 57
3 JAN8 (EAN8) Fixed 7 ≤
k
≤ 80~9 48 ≤
d
≤ 57
4 CODE39 Can be changed 1 ≤
k
0~9, A~Z
SP, $, %, *, +, -, ., /
48 ≤
d
≤ 57, 65 ≤
d
≤ 90,
d
= 32, 36, 37, 42, 43, 45, 46, 47
5ITF
(Interleaved 2 of 5)
Can be changed 1 ≤
k
(even
number)
0~9 48 ≤
d
≤ 57
6CODABAR
(NW7)
Can be changed 1 ≤
k
0~9, A~D, a~ d
$, +, -, ., /,:
48 ≤
d
≤ 57, 65 ≤
d
≤ 68, 97 ≤
d
≤ 100
d
= 36, 43, 45, 46, 47, 58
Bar code commands