REGO Thermal Printer Technical Manual
www.regotek.com
15
Decimal
27
45
n
[Range]
0 ≤ n ≤2, 48 ≤ n ≤ 50
[Description]
Turn underline mode on or off, based on the following values of n:
n
Function
0, 48
Turns off underline mode
1, 49
Turns on underline mode (1-dot thick)
2, 50
Turns on underline mode (2-dots thick)
[Notes]
The printer can underline all characters (including right-side character spacing),but cannot
underline the space set by HT.
The printer cannot underline 90° clockwise rotated characters and white/black inverted
characters.
When underline mode id turned off by setting the value of n to 0 or 48, the following data is not
underlined, and the underline thickness set before the mode is turned off does not change. The
default underline thickness is 1 dot.
Changing the character size does not affect the current underline thickness.
Underline mode can also be turned on or off by using ESC !. Note, however,that the last received
command is effective.
This command does not affect the setting of Chinese characters.
[Default]
n = 0
[Reference]
ESC !
[Example]
char SendStr[7] = {0x1B,0x2D,0x01,0x31,0x32,0x33,0x0A};
SendData(SendStr, 7);
ESC ? n Cancel user-defined characters
[Name]
Cancel user-defined characters
[Format]
ASCII
ESC ?
n
Hex
1B
3F
n
Decimal
27
63
n
[Range]
32 ≤ n ≤127
[Description]
Cancel user-defined characters.
[Notes]
This command cancels the pattern defined for the character code specified by n. After the
user-defined characters is canceled, the corresponding pattern for the internal character is
printed.
This command deletes the pattern defined for the specified code in the font selected by ESC !.
If a user-defined character has not been defined for the specified character code, the printer
ignores this command.
[Reference]
ESC &, ESC %
ESC E n Turn emphasized mode on/off
[Name]
Turn emphasized mode on/off
[Format]
ASCII
ESC E
n
Hex
1B
45
n
123