TM-U220II supported commands


Command
Description
HT Horizontal tab
LF Print and line feed
CR Print and carriage return
DLE EOT Transmit real-time status
DLE ENQ Send real-time request to printer
DLE DC4 (fn=1) Generate pulse in real-time
DLE DC4 (fn=3) Sound buzzer in real-time
DLE DC4 (fn=8) Clear buffer(s)
ESC SP Set right-side character spacing
ESC ! Select print mode(s)
ESC $ Set absolute print position
ESC % Select/cancel user-defined character set
ESC & Define user-defined characters
ESC * Select bit-image mode
ESC - Turn underline mode on/off
ESC 2 Select default line spacing
ESC 3 Set line spacing
ESC < Return home
ESC = Select peripheral device
ESC ? Cancel user-defined characters
ESC @ Initialize printer
ESC D Set horizontal tab positions
ESC E Turn emphasized mode on/off
ESC G Turn double-strike mode on/off
ESC J Print and feed paper
ESC K Print and reverse feed
ESC M Select character font
ESC R Select an international character set
ESC U Turn unidirectional print mode on/off
ESC a Select justification
ESC c 3 Select paper sensor(s) to output paper-end signals
ESC c 4 Select paper sensor(s) to stop printing
ESC c 5 Enable/disable panel buttons
ESC d Print and feed n lines
ESC e Print and reverse feed n lines
ESC i (∗2) Partial cut (one point left uncut)
ESC m (∗2) Partial cut (three points left uncut)
ESC p Generate pulse
ESC r Select print color
ESC t Select character code table
ESC u (∗2) Transmit peripheral device status
ESC v (∗2) Transmit paper sensor status
ESC { Turn upside-down print mode on/off
FS ! Select print mode(s) for Kanji characters
FS & Select Kanji character mode
FS ( e Enable/disable Automatic Status Back (ASB) for optional functions (extended status)
FS - Turn underline mode on/off for Kanji characters
FS . Cancel Kanji character mode
FS 2 Define user-defined Kanji characters
FS C Select Kanji character code system
FS S Set Kanji character spacing
FS W Turn quadruple-size mode on/off for Kanji characters
FS p (∗2) Print NV bit image
FS q (∗2) Define NV bit image
GS ( A Execute test print
GS ( C Edit NV user memory
GS ( C <fn=0> Delete the specified record
GS ( C <fn=1> Store the data in the specified record
GS ( C <fn=2> Transmit the data in the specified record
GS ( C <fn=3> Transmit capacity of the NV user memory currently being used
GS ( C <fn=4> Transmit the remaining capacity of the NV user memory
GS ( C <fn=5> Transmit the key code list
GS ( C <fn=6> Delete all data in the NV user memory
GS ( D Enable/disable real-time command
GS ( E Set user setup commands
GS ( E <fn=1> Change into the user setting mode
GS ( E <fn=2> End the user setting mode session
GS ( E <fn=3> Change the memory switch
GS ( E <fn=4> Transmit the settings of the memory switch
GS ( E <fn=5> Set the customized setting values
GS ( E <fn=6> Transmit the customized setting values
GS ( E <fn=11> Set the configuration item for the serial interface
GS ( E <fn=12> Transmit the configuration item for the serial interface
GS ( E <fn=15> Set conditions for USB interface communication
GS ( E <fn=16> Transmit conditions for USB interface communication
GS ( H Request transmission of response or status
GS ( H <fn=48> Specifies the process ID response
GS ( M Customize printer control value(s)
GS ( M <fn=1> Save the setting values from the work area into the storage area
GS ( M <fn=2> Load the setting values stored in the storage area to the work area
GS ( M <fn=3> Select the setting values loaded to the work area after the initialization process
GS I Transmit printer ID
GS V Select cut mode and cut paper
GS a Enable/disable Automatic Status Back (ASB)
GS r Transmit status
(∗1):  Not supported by some models
(∗2):  Obsolete 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