REGO Thermal Printer Technical Manual
www.regotek.com
11
ESC ! n Select print mode(s)
[Name]
Select print mode(s)
[Format]
ASCII
ESC
!
n
Hex
1B
21
n
Decimal
27
33
n
[Range]
0 ≤ n ≤ 255
[Description]
Select print mode(s) using n as follows:
Bit
1/0
HEX
Decimal
Function
0
0
00
0
Standard ASCII font A (12 × 24)
1
01
1
Compressed ASCII font B (9 × 17)
1,2
0
00
0
Undefined.
3
0
00
0
Emphasized mode not selected.
1
08
8
Emphasized mode selected.
4
0
00
0
Double-height mode not selected.
1
10
16
Double-height mode selected.
5
0
00
0
Double-width mode not selected.
1
20
32
Double-width mode selected.
6
0
00
0
Undefined.
7
0
00
0
Underline mode not selected.
1
80
128
Underline mode selected.
[Notes]
When double-width and double-height modes are selected, the characters are enlarged twice in
the horizontal and vertical.
In addition to the space and 90 ° clockwise rotation of the characters set by HT, the rest
characters can be underlined.
The thickness of the underline is that selected by ESC , regardless of the character size.
When some characters in a line are double or more height, all the characters on the line are
aligned at the baseline.
ESC E can also turn on or off emphasized mode. However, the setting of the last received
command is effective.
ESC - can also turn on or off underline mode. However, the setting of the last received command
is effective.
GS ! can also select character size. However, the setting of the last received command is effective.
Emphasized mode is effective for alphanumeric and Chinese. All print modes except emphasized
mode is effective only for alphanumeric.
[Default]
n = 0
[Reference]
ESC -, ESC E, GS !
[Example]
char SendStr[7] = {0x1B,0x21,0x00,0x31,0x32,0x33,0x0A};
SendData(SendStr, 7);
char SendStr[7] = {0x1B,0x21,0xB9,0x31,0x32,0x33,0x0A};
SendData(SendStr, 7);
123
123