Confidential BTP-R880NP Programming Manual
- 29 -
GS ! n
[Function]
Select character size
[Format]
ASCII
GS
!
n
Hex
1D
21
n
Decimal 29
33
n
[Range]
0
≤
n
≤
255
(1
≤
vertical number of times
≤
6, 1
≤
horizontal number of times
≤
6)
[Notes]
Selects the character height using bits 0 to 2 and selects the character width using bits 4
to 7 as follows:
Bit
Off/On
Hex
Decimal
Function
0-3
Character height selection. See Table 2.
4-7
Character width selection. See Table 1.
Table 1 Character Width Selection
Table 2 Character Height Selection
Hex
Decimal
Width
Hex
Decimal
Height
00 00 0(Normal) 00 0
1
(Normal)
10
16
2(double Width)
01
1
2(Double height)
20 32
3
02 2
3
30 48
4
03 3
4
40 64
5
04 4
5
50 80
6
05 5
6
This command is effective to all characters (alphanumeric and Kanji) except for HRI
characters.
If n is outside of the defined range, this command will be ignored.
In standard mode, the vertical direction is the paper feed direction, and the horizontal
direction is perpendicular to the paper feed direction. However,
when character orientation changes in 90° clockwise-rotation, the relationship between
vertical and horizontal directions is reversed.
In page mode, vertical and horizontal directions are based on the character orientation.
When characters are enlarged with different sizes on one line, all the characters on the
line are aligned at the baseline.
The
ESC !
command can also turn double-width and double-height modes on or off.