— 56 —
GS k m [d1 ..... dk] NUL
GS k m n [d1 ...... dn]
[Function] Printing the bar code
[Code] (1) <1D>H<6B>H<m> [d1.....dk] NUL
(2) <1D>H<6B>H<m><n> [d1....dn]
[Range] (1) 0 =< m =< 6 The definitions of “k” and “d” vary with the bar code system.
(2) 65 =< m =< 73 The definitions of “n” and “d” vary with the bar code system.
[Outline] Selects a bar code system and prints the bar code.
For (1):
m Bar code system Range of “k” Range of “d”
0 UPC-A k=11 48 =< d =< 57
1 UPC-E k=11 48 =< d =< 57
2 JAN13 (EAN) k=12 48 =< d =< 57
3 JAN8 (EAN) k=7 48 =< d =< 57
4 CODE39 1 =< k 48 =< d =< 57,
65 =< d =< 90
32, 36, 37, 43, 45,
46, 47
5 ITF 1 =< k (Must be an 48 =< d =< 57
even number)
6 CODABAR (NW-7) 1 =< k 48 =< d =< 57,
65 =< d =< 68
36, 43, 45, 46, 47, 58
For (2):
m(2) Bar code system Range of “n” Range of “d”
65 UPC-A n=11 48 =< d =< 57
66 UPC-E n=11 48 =< d =< 57
67 EAN13 (JAN) n=12 48 =< d =< 57
68 EAN8 (JAN) n=7 48 =< d =< 57
69 CODE39 1 =< n 48 =< d =< 57,
65 =< d =< 90
32, 36, 37, 43, 45,
46, 47
70 ITF 1 =< n (Must be an 48 =< d =< 57
even number)
71 CODABAR 1 =< n 48 =< d =< 57,
65 =< d =< 68
36, 43, 45, 46, 47,58
72 CODE93 1 =< n 0 =< d =< 127
73 CODE128 2 =< n 0 =< d =< 127