41
42
Print bar code.
ASCII
Hex
Decimal
ASCII
Hex
Decimal
0 < m < 6 (k and d depends on the bar code system used.)
65 < m < 73 (n and d depends on the bar code system used)
Selects a bar code system and prints the bar-code.
m selects a bar code system as follows:
Gs f n
[Name]
[Format]
[Range]
[Description]
Select font for Human Readable Interpreation(HRI) characters.
ASCII
Hex
Decimal
n = 0, 1, 48, 49
Selects a font for the HRI characters used when printing
a bar code. n selects a font from the following table:
GS
1D
29
f
66
102
n
n
n
0, 48
1, 49
n
Font A (12 x 24)
Font B (9 x 24)
Font
h
68
104
n
n
n
GS h n
[Name]
[Format]
[Range]
[Description]
Set bar code height.
ASCII
Hex
Decimal
1 < n < 255
Set the height of the bar code.
n specifies the number of dots in the vertical direction.
GS
1D
29
^
5E
94
r t m
r t m
r t m
GS ^ r t m
[Name]
[Format]
[Range]
[Description]
Execute macro.
ASCII
Hex
Decimal
0 < r < 255
0 < t < 255
m = 0, 1
Executes a macro.
r specifies the number of times to execute the macro.
t specifies the waiting time for exceuting the macro.
m specifies macro executing mode.
When the LSB of m = 0
The macro executes r times continuously at the interval specified by t.
When the LSB of m = 1:
After waiting for the period specified by t, the PAPER OUT LED
indicators blink and the printer waits for the FEED button to be
pressed. After the button is pressed, the priner executes the
macro once. The printer repeats the operation r times.
GS
1D
29
GS k m d1... dk NUL, GS k m n d1... dn
[Name]
[Format]
[Range]
[Description]
GS
1D
29
GS
1D
29
k
6B
107
V
56
86
m
m
m
m
m
m
d1...dk
d1...dk
d1...dk
n d1...
n d1...
n d1...
NUL
00
0
dn
dn
dn
1
1
1
2
2
0
1
2
3
4
5
6
65
66
67
68
69
70
71
72
73
m
UPC-A
UPC-E
JAN13(EAN13)
JAN8(EAN8)
CODE39
ITF
CODABAR
UPC-A
UPC-E
JAN13(EAN13)
JAN8(EAN8)
CODE39
ITF
CODABAR
CODE93
CODE128
Bar Code
System
11 < k < 12
11 < k < 12
12 < k < 13
7 < k < 8
1 < k
1 < k (even number)
1 < k
1 < n < 255 (even number)
1 < n < 255
1 < n < 255
2 < n < 255
11 < n < 12
11 < n < 12
12 < n < 13
7 < n < 8
1 < n < 255
Number of Characters
48 < d < 57
48 < d < 57
48 < d < 57
48 < d < 57
48 < d < 57, 65 < d < 90,32,
36,37,43,45,46,47
48 < d < 57
48 < d < 57, 65 < d < 68
36,43,45,46,47,58
Remarks
2
1
2
0 < d < 127
0 < d < 127
48 < d < 57
48 < d < 57
48 < d < 57
48 < d < 57
48 < d < 57, 65 < d < 90,32,
36,37,43,45,46,47
d1 = dk = 42(1)
48 < d < 57
48 < d < 57, 65 < d < 68, 36,
43,45,46,47,58