Select your printer model

Parameters are refined by the selected printer.
  • EU-m30
  • TM-J2000
  • TM-J2100
  • TM-L90
  • TM-L90 LFC
  • TM-L100
  • TM-m10
  • TM-m30
  • TM-m30II
  • TM-m30II-H
  • TM-m30III
  • TM-m30III-H
  • TM-m30II-NT
  • TM-m30II-S
  • TM-m30II-SL
  • TM-m50
  • TM-m50II
  • TM-m50II-H
  • TM-P20
  • TM-P20II
  • TM-P60
  • TM-P60II
  • TM-P80
  • TM-P80II
  • TM-T20
  • TM-T20II
  • TM-T20III
  • TM-T20IIIL
  • TM-T20X
  • TM-T70
  • TM-T70II
  • TM-T81III
  • TM-T82II
  • TM-T82III
  • TM-T82IIIL
  • TM-T82X
  • TM-T83III
  • TM-T88IV
  • TM-T88V
  • TM-T88VI
  • TM-T88VII
  • TM-T90
  • TM-T100
  • TM-U220
  • TM-U220II
  • TM-U230

ESC -


[Name]

Turn underline mode on/off

[Format]

ASCII
   
ESC
  
-
  
n
Hex
1B
2D
n
Decimal
27
45
n

[Range]

different depending on the printers

[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 alphanumeric, Kana, and user-defined characters. On some models, it is effective also for Korean characters.
  • The color of underline is the same as that of the printing character. The printing character's color is selected by GS ( N   <Function 48> .
  • Changing the character size does not affect the current underline thickness.
  • When underline mode is turned off, the following data cannot be underlined, but the thickness is maintained.
  • The printer does not underline 90° clockwise rotated characters, white/black reverse characters, and the space set by HT, ESC $, and ESC \.
  • Setting of this command is effective until ESC ! is executed, ESC @ is executed, the printer is reset, or the power is turned off.
  • Some of the printer models support the 2-dot thick underline (n = 2 or 50).
 

Quick Access

  • [Name]
  • [Format]
  • [Range]
  • [Description]
  • [Notes]

ESC/POS® includes patented or patent pending commands. The contents must not be disclosed to third parties.


ESC/POS® Command Reference for TM Printers

Jump to the top