Instruction manual
GS H n
(Select printing position of HRI characters)
[Format] ASCII : GS H n
Hex : 1D 48 n
Decimal : 29 72 n
[Description] Selects printing position of HRI characters when printing a bar code.
n Printing position
0,48 No printed(default)
1,49 Above the bar code
2,50 Below the bar code
3,51 Both above and below the
Bar code
[Reference] GS w n, GS h n, GS k m[d1…dk] NUL, GS k m n[d1…dn]
GS L nL nH
(Set left margin)
[Format] ASCII : GS L nL nH
Hex : 1D 4C nL nH
Decimal : 29 76 nL nH
[Description] Sets the left margin.
Sets the left margin using nL and nH : [nL + nH x 256] x 0.125 mm
Range : 0 ≤ n < 300 (default = 0)
[Reference] ESC $ nL nH
[EX] Data : “1234567890”,0Ah,1Dh,4Ch,50h,00h,”ABCD”,0Ah,”1234”,0A
Print :
GS h n
(Select height of bar code)
[Format] ASCII : GS h n
Hex : 1D 68 n
Decimal : 29 104 n
[Description] Selects the height of bar code.
Height of bar code : n x 0.125 mm
Range : 0 ≤ n < 255 (default :100)
[Reference] GS w n, GS H n, GS k m[d1…dk] NUL, GS k m n[d1…dn]
GS k m[d1…dk] NUL
(Print bar code)
[Format] ASCII : GS k m [d1…dn] NUL
Hex : 1D 6B m [d1…dn] 00
Decimal : 29 107 m [d1…dn] 0
[Description] Selects a bar code system and prints the bar code.
M selects a bar code system as follows;
M Bar Code System Number of
characters
Remarks
0 UPC-A
11 ≤k ≤12 48 ≤d ≤57
1 UPC-E
11 ≤k ≤
12
48 ≤d ≤57
2 EAN13(JAN)
12 ≤k ≤13 48 ≤d ≤57
3 EAN8(JAN)
7 ≤k ≤8 48 ≤d ≤57
4 CODE39
1 ≤k 48 ≤d ≤57, 65 ≤d ≤90