GS f n (*)
[Name] Select font for Human Readable Interpretation (HRI) characters
[Format] ASCII GS f n
Hex 1D 66 n
Decimal 29 102 n
[Range] n = 0, 1, 48, 49
[Description] Selects a font for the HRI characters used when printing a bar code.
n selects a font from the following table:
[Details] • HRI indicates Human Readable Interpretation.
• HRI characters are printed at the position specified by GS H.
[Default] n = 0
[Reference] GS H, GS k
n
0,48
1,49
Typeface
Standard ASCII characters (12 × 24)
Compressed ASCII characters (9 × 17)
GS h n
[Name] Select bar code height
[Format] ASCII GS h n
Hex 1D 68 n
Decimal 29 104 n
[Range] 1 ≤ n ≤ 255
[Description] Selects the height of the bar code.
n specifies the number of dots in the vertical direction.
[Default] n = 162
[Reference] GS k
①GS k m d1…dk NUL ②GS k m n d1..dn
[Name] Print bar code
[Format] ① ASCII GS k m d1...dk NUL
Hex 1D 6B m d1...dk 00
Decimal 29 107 m d1...dk 0
② ASCII GS k m n d1...dn
Hex 1D 6B m n d1...dn
Decimal 29 107 m n d1...dn
[Range] ① 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)
[Description] Selects a bar code system and prints the bar code.
m selects a bar code system as follows:
Character
0 9 ~
0 9 ~
0 9 ~
0 9 ~
0 9, ~
A Z ~
SP,$,%,+,
-,., /
*(Start / end character)
0 9 ~
0 9, ~
A D ~
$, +, -, .,
/,:
Remarks
48 ≤ d ≤ 57
48 ≤ d ≤ 57
48 ≤ d ≤ 57
48 ≤ d ≤ 57
45 ≤ d ≤ 57,
65 ≤ d ≤ 90,
d = 32, 36, 37,
d = 42(Start / end character)
48 ≤ d ≤ 57
48 ≤ d ≤ 57,
65 ≤ d ≤ 68,
d = 36, 43, 45, 46,
47, 58
Numder of characters
11 ≤ k ≤ 12
11 ≤ k ≤ 12
12 ≤ k ≤ 13
7 ≤ k ≤ 8
1 ≤ k ≤ 255
1 ≤ k ≤255(Even number)
1 ≤ k ≤ 255
Bar Code System
UPC-A
UPC-E
JAN13 (EAN13)
JAN8 (EAN8)
CODE39
ITF
CODABAR
43, 45, 46, 47
m
0
1
2
3
4
5
6
①
Programmer Manual