TP830 User's Manual
- 56 -
Horizontal or vertical minimal units are specified by GS P.
GS f
Select the HRI character font
Format: ASCII: GS
h
n
Decimal: 29 102 n
Hex: 1D 66 n
Description:
Select the HRI character when printing a bar code, using n as follows:
n=0, 48; Selects character A (12*24)
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