0x1D 0x21
<GS !>
Select character size
Valid for
TG02H
[Format]
ASCII
GS ! n
Hex
1D 21 n
Decimal
29 33 n
[Range]
0 ≤ n ≤ 7
16 ≤ n ≤ 23
32 ≤ n ≤ 39
48 ≤ n ≤ 55
64 ≤ n ≤ 71
80 ≤ n ≤ 87
96 ≤ n ≤ 103
112 ≤ n ≤ 119
[Description]
Selects character height and width, as follows:
• Bits 0 to 3: to select character height (see table 2).
• Bits 4 to 7: to select character width (see table 1).
12/16 Cpi, 16/22 Cpi
Table 1 Select character width
Table 2 Select character height
HEX
DECIMAL
WIDTH
HEX
DECIMAL
HEIGHT
00
0
1 (normal)
00
0
1 (normal)
10
16
2 (width = 2x)
01
1
2 (height = 2x)
20
32
3 (width = 3x)
02
2
3 (height = 3x)
30
48
4 (width = 4x)
03
3
4 (height = 4x)
40
64
5 (width = 5x)
04
4
5 (height = 5x)
50
80
6 (width = 6x)
05
5
6 (height = 6x)
60
96
7 (width = 7x)
06
6
7 (height = 7x)
70
112
8 (width = 8x)
07
7
8 (height = 8x)
12 Cpi
Table 1 Select character width
Table 2 Select character height
HEX
DECIMAL
WIDTH
HEX
DECIMAL
HEIGHT
00
0
1 (normal)
00
0
1 (normal)
10
16
2 (width = 2x)
01
1
2 (height = 2x)
20
32
3 (width = 3x)
02
2
3 (height = 3x)
30
48
4 (width = 4x)
03
3
4 (height = 4x)
44 │
ESC/POS™ emulation
Содержание TG02H
Страница 1: ...COMMANDS MANUAL TG02H ...
Страница 3: ...ESC POS EMULATION INTRODUCTION ...
Страница 4: ......
Страница 7: ...ESC POS emulation ...
Страница 27: ... Default n 0 Reference 0x1B 0x2D 0x1B 0x45 0x1D 0x21 Example ESC POS emulation 27 ...
Страница 30: ... Example 18 dots 11 cpi 14 dots 15 cpi p1 MSB LSB p2 30 ESC POS emulation ...
Страница 98: ...98 ESC POS emulation ...
Страница 99: ......