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]

Select print mode(s)

[Format]

ASCII
   
ESC
  
!
  
n
Hex
1B
 
21
 
n
Decimal
27
 
33
 
n

[Range]

n = 0 – 255

[Default]

different depending on the printers

[Description]

Selects the character font and styles (emphasized, double-height, double-width, and underline) together as follows:
n: Bit
Binary
Function
Hex
Decimal
0
0
Selects Font 1
00
0
1
Selects Font 2
01
1
1
(Reserved)
2
(Reserved)
3
0
Emphasized mode: OFF
00
0
1
Emphasized mode: ON
08
8
4
0
Double-height mode: OFF
00
0
1
Double-height mode: ON
10
16
5
0
Double-width mode: OFF
00
0
1
Double-width mode: ON
20
32
6
(Reserved)
7
0
Underline mode: OFF
00
0
1
Underline mode: ON
80
128

[Notes]

  • Configurations of Font 1 and Font 2 are different, depending on the printer model. If the desired font type cannot be selected with this command, use ESC M.
  • The settings of font (Bit 0), double-height (Bit 4), double-width (Bit 5) and underline (Bit 7) are effective for 1-byte code characters. On some models, the settings of double-height (Bit 4), double-width (Bit 5) and underline (Bit 7) are effective also for Korean characters.
  • The emphasized print modes set by this command (Bit 3) is effective for both 1-byte code characters and multi-byte code characters.
  • Settings of this command are effective until ESC @ is executed, the printer is reset, the power is turned off, or one of the following commands is executed:
    • Bit 0 (character font): ESC M
    • Bit 3 (Emphasized mode): ESC E
    • Bit 4, 5 (character size): GS !
    • Bit 7 (underline mode): ESC -
  • When some characters in a line are double-height, all characters on the line are aligned at the Baseline.
  • When double-width mode is turned on, the characters are enlarged to the right, based on the left side of the character.
  • When both double-height and double-width modes are turned on, quadruple size characters are printed.
  • In Standard mode, the character is enlarged in the paper feed direction when double-height mode is selected, and it is enlarged perpendicular to the paper feed direction when double-width mode is selected. However, when character orientation changes in 90° clockwise rotation mode, the relationship between double-height and double-width is reversed.
  • in Page mode, double-height and double-width are on the character orientation.
  • The underline thickness is that specified by ESC -, regardless of the character size. The underline is the same color as the printed character. The printed character's color is specified by GS ( N   <Function 48> .
  • The following are not underlined.
    • 90° clockwise-rotated characters
    • white/black reverse characters
    • space set by HT, ESC $, and ESC \
  • On printers that have the Automatic font replacement function, the replaced font with GS ( E   <Function 5> (a = 111, 112, 113) is selected by this command.
 

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