Specifications

Programmers Guide TH230/TH230+
48
ESC -
Function:
Turn underline mode on/off
Code ASCII: ESC - n
Code HEX: 0x1B 0x2D n
Range:
0 n 2, 48 n 50
Default: n = 0
Description:
Turns underline mode on or off using n as follows:
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 underline mode is effective for all characters (except for HRI
characters).
When underline mode is turned on, 90° clockwise rotated characters
and white/black reverse characters cannot be underlined.
The printer cannot underline the space set by HT, ESC $, and ESC \.
In Asia version (FS & (Asia version)), changing the character size does not
affect the current underline thickness. Otherwise, underline thickness
grows with vertical charcter size.
When underline mode is turned off, the following data cannot be
underlined, but the thickness is maintained.
This command and bit 7 of ESC ! turn on and off underline mode in the
same way.
The settings of this command are effective until ESC ! is executed, ESC @
is executed, the printer is reset, or the power is turned off