
TP850
User’s Manual
- 55 -
n=1, 49; Selects character B (8*16)
GS h
Set bar code height
Format: ASCII: GS h n
Decimal: 29 104 n
Hex: 1D 68 n
Description:
Set the height of the bar code to n dots.
n=0~255.
GS k
Print bar code
Format: ASCII:
GS
k m d1..dk NUL
Decimal: 29 107 m d1..dk 0
Hex: 1D 6B m d1..dk 00
*
ASCII:
GS
k m n d1..dn
Decimal: 29 107 m n d1..dn
Hex: 1D 6B m n d1..dn
*when m>64
m Bar code type Amount of data The range of k
Character
Character code
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
EAN13
Fixed
12
≤
k
≤
13 0
~
9 48
≤
d
≤
57
3
EAN8
Fixed
7
≤
k
≤
8 0
~
9 48
≤
d
≤
57
4
CODE39
Can be changed
1
≤
k
0
~
9,A
~
Z,
SP, $, %,
+, -, ., /
* (start,
stop)
48
≤
d
≤
57, 65
≤
d
≤
90, d=32,
36, 37, 43, 45, 46, 47. d=42
(start, stop)
5
ITF
Can be changed
1
≤
K (even)
0
~
9 48
≤
d
≤
57
6
CODABAR
Can be changed
1
≤
k
0
~
9, A
~
D, $, +, -, .,
/, :
48
≤
d
≤
57, 65
≤
d
≤
68, 36, 43,
45, 46, 47, 58
*65
UPC-A
Fixed
11
≤
n
≤
12 0
~
9 48
≤
d
≤
57
*66
UPC-E
Fixed
11
≤
n
≤
12 0
~
9 48
≤
d
≤
57
*67
EAN13
Fixed
12
≤
n
≤
13 0
~
9 48
≤
d
≤
57
*68
EAN8
Fixed
7
≤
n
≤
8 0
~
9 48
≤
d
≤
57
*69
CODE39
Can be changed
1
≤
n<255
0
~
9,A
~
Z,
SP, $, %,
+, -, ., /
* (start,
stop)
48
≤
d
≤
57, 65
≤
d
≤
90d=32, 36,
37, 43, 45, 46, 47. d=42
(start, stop)
*70
ITF
Can be changed 1
≤
n
≤
255 (even)
0
~
9 48
≤
d
≤
57
*71
CODABAR
Can be changed
1
≤
n
≤
255
0
~
9, A
~
D, $, +, -,.,
/, :
48
≤
d
≤
57, 65
≤
d
≤
68, 36, 43,
45, 46, 47, 58
*73
CODE128
Can be changed
2
≤
n<255
NUL
~
SP
(7FH)
0
≤
d
≤
127