![](/images/new-backgrounds/1149583/149583147x1.webp)
ESC - n
[Name] | Turn underline mode on/off |
| ||
[Format] | ASCII | ESC | - | n |
| Hex | 1B | 2D | n |
| Decimal | 27 | 45 | n |
[Range] | 0 ≤ n ≤ 2, 48 ≤ n ≤ 50 |
|
|
[Description] Turns underline mode on or off, based on the following values of n.
n
0, 48
1, 49
2, 50
Function
Turns off underline mode
Turns on underline mode
Turns on underline mode
[Notes] | • The printer can underline all characters (including |
| 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. |
[Default] | n = 0 |
[Reference] | ESC ! |
ESC 2
[Name] | Select | ||
[Format] | ASCII | ESC | 2 |
| Hex | 1B | 32 |
| Decimal | 27 | 50 |
[Description] | Selects | ||
[Note] | The line spacing can be set independently in standard mode and in | ||
| page mode. |
|
|
[Reference] | ESC 3 |
|
|
ESC 3 n
[Name] | Set line spacing |
|
| |
[Format] | ASCII | ESC | 3 | n |
| Hex | 1B | 33 | n |