40
GS ! n
[Name] Select character size
[Format] ASCII GS ! n
Hex 1D 21 n
Decimal 29 33 n
[Range] 0 ≤n ≤255
Where 1 ≤ Number of times of character height ≤2
1 ≤ Number of times of character width ≤2
[Description] Selects the character height using bits 0 to 1 and selects the
character width using bits 4 to 7, as follows:
Bit Off/On Hex Decimal Function
0
1
2
3
Character height selection. See Table 2.
4
5
6
7
Character width selection. See Table 1
Table 1
Character width Selection
Table 2
Character height Selection
Hex Decimal Width Hex Decimal Height
00 0 1 (normal) 00 0 1 (normal)
10 16 2 (double-width)
01 1 2 (double-height)
GS * x y d1...d (x X y X 8)
[Name] Define downloaded bit image
[Format] ASCII GS * x y d1...d (x X y X 8)
Hex 1D 2A x y d1...d (x X y X 8)
Decimal 29 42 x y d1...d (x X y X 8)
[Range] 1 ≤x ≤255
1 ≤y ≤48 where, x X y ≤1536
0 ≤d ≤255
[Description] Defines a downloaded bit image using the dots specified by x and y.
● x indicates the number of dots in the horizontal direction.
● y indicates the number of dots in the vertical direction.
41
GS / m
[Name] Print downloaded bit image
[Format] ASCII GS / m
Hex 1D 2F m
Decimal 29 47 m
[Range] 0 ≤m ≤3,48 ≤m ≤51
[Description] Prints downloaded bit image in mode m.
The modes selectable by m as follows:
m
Mode Vertical Dot Density Horizontal Dot Density
0,48 Normal 200 DPI 200 DPI
1,49 Double-width 200 DPI 100 DPI
2,50 Double-height 100 DPI 200 DPI
3,51 Quadruple 100 DPI 100 DPI
GS :
[Name] Start or ends macro definition.
[Format] ASCII GS :
Hex 1D 3A
Decimal 29 58
[Description] Starts or ends macro definition.
GS B n
[Name] Turn white/black reverse printing mode on/off
[Format] ASCII GS B n
Hex 1D 42 n
Decimal 29 66 n
[Range] 0 ≤n ≤255
[Description] Turns white/black reverse printing mode on or off.
● When the LSB of n is 0, white/black reverse printing mode is
turned off.
● When the LSB of n is 1, white/black reverse printing mode is
turned on.
GS H n
[Name] Select printing position of HRI characters
[Format] ASCII ESC H n
Hex 1D 48 n
Decimal 29 72 n
[Range] 0 ≤n ≤ 3 , 48 ≤n ≤51
[Description] Selects the printing position of HRI characters when printing
bar code.