Introduction
ESC/POS® Command Reference Revision 3.20
ESC/POS Command Reference provides detailed information on ESC/POS commands, such as standard command syntax
and protocol.
It targets programmers who want to control the printer with ESC/POS commands.
ESC/POS Command Reference is provided as replacement of ESC/POS APG for Paper Roll Printers. The ESC/POS APG for Paper Roll Printers, therefore, will not be revised anymore.
Currently the information for the following Paper Roll Printers is included:
EU-m30, TM-J2000, TM-J2100, TM-L90, TM-L90 LFC, TM-L100, TM-m10, TM-m30, TM-m30II,
TM-m30II-H, TM-m30II-NT, TM-m30II-S, TM-m30II-SL, TM-m30III, TM-m30III-H, 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-T20IV-L, TM-T20X, TM-T20X-II, TM-T70, TM-T70II,
TM-T81III, TM-T82II, TM-T82III, TM-T82IIIL, TM-T82IV-L, TM-T82X, TM-T82X-II, TM-T83III,
TM-T83IV, TM-T88IV, TM-T88V, TM-T88VI, TM-T88VI-iHUB, TM-T88VII, TM-T90, TM-T100,
TM-U220, TM-U220II, TM-U230
* The commands for TM-T88VI-iHUB are the same as those for TM-T88VI.
* TM-L90 LFC means TM-L90 for liner free paper models: TM-L90 65*/66*/67*/68* models.
ESC/POS Command Reference contains the command information for Standard models such as ANK model or Japanese
model, and may contain Chinese models or South Asia models.
The other models such as customized may support different commands or have a different
range, or different default value of command parameters. Please refer to each product
specification for them.
Tree menu at the left side
Tree menu
|
---|
Introduction
+ Command Lists
+ Commands Arranged by Function
+ Programming Examples
+ Appendixes
|
-
Introduction is this page.
-
Command Lists includes four kinds of table.
-
-
Commands in Code Order is a list of all commands sorted by the code in this reference.
-
Applicable printers shows what commands the each printer has.
-
"Command List by Model" is the command list in code order that the model supports.
-
Obsolete Commands show the obsolete commands and the substitute one for each.
-
-
Commands Arranged by Function contains the explanation of each command under the categorized sub menu.
Information depending on the each printer will be shown by selecting printers from "Select Printer(s)" above. In case nothing is selected, only the basic information is provided.
The selection of printers will be saved in an HTTP cookie under the name of "ref_escpos_select" for 30 days. -
Programming examples shows some examples of program and the print results. The syntax of the program example is based on Send Data Tool: Senddat.exe that Epson provides as a software tool for trial use of Epson POS printers. Please refer to the download page for the usage.
-
Appendixes contains Command classification, Overview of Data Processing, Glossary, Command Notation, Notes of Real-time Commands, and Revision history.
* Character Code Tables contained prior to Revision 1.72 have been moved to Character Code Tables for TM printers.
ESC/POS® Proprietary Command System
The market for store automation equipment is changing rapidly with the widespread
introduction of POS (point of sale) terminals. These terminals are now appearing even
in small retail stores and specialty shops.
As personal computers begin to be used as POS terminals, the demand for matching uniform
peripheral devices is expected to rise. At present, however, many of the competing
POS terminal printers on the market employ mutually incompatible command sets. This
imposes limits on the expandability and range of applications possible with PC-based
systems. There is a need for a new command set designed to provide the expandability
and universal applicability demanded by the market.
ESC/POS
EPSON took the initiative by introducing ESC/POS, a proprietary POS printer command
system, which includes patented or patent pending commands and enables versatile POS
system construction with high scalability. Compatible with all types of EPSON POS
printers and displays, this proprietary control system also offers the flexibility
to easily make future upgrades. Its popularity is worldwide.
ESC/POS is designed to reduce the processing load on the host computer in POS environments.
It comprises a set of highly functional and efficient commands that enables the full
realization of the potential of printers.
A command set designed for universal applicability
The commands that are supported by all EPSON POS printers and those that are specific
to individual models are clearly described. This means that ESC/POS compatible software
will work with any system and be suitable for a wide range of applications.
Superb expandability allowing the addition of new functions
New functions can be added and accommodated by the categories already provided in
the command system.
Allows more effective use of software
Once a software application has been created for one printer in the TM series, it
can be used as the basis for versions for the other printers in the series. Only a
small portion of the program source code needs to be modified.
Trademarks
ESC/POS is a registered trademark of Seiko Epson Corporation.
The Bluetooth® word mark and logos are registered trademarks owned by Bluetooth SIG, Inc. and any
use of such marks by Seiko Epson Corporation is under license.
IOS is a trademark or registered trademark of Cisco in the U.S. and other countries
and is used under license.
QR Code is a registered trademark of DENSO WAVE INCORPORATED in Japan and in other
countries.
All other trademarks are the property of their respective owners and used for identification
purpose only.
Quick Access
- [Name]
- [Format]
- [Range]
- [Description]
- [Notes]
ESC/POS® includes patented or patent pending commands. The contents must not be disclosed
to third parties.
- Introduction
- Command Lists
- Commands in Code Order
- Applicable printers
- Command List by Model
- EU-m30
- TM-J2000, TM-J2100
- TM-L90
- TM-L90 LFC
- TM-L100
- TM-m10
- TM-m30
- TM-m30II
- TM-m30II-H
- TM-m30II-NT
- TM-m30II-S
- TM-m30II-SL
- TM-m30III
- TM-m30III-H
- TM-m50
- TM-m50II
- TM-m50II-H
- TM-P20
- TM-P20II
- TM-P60
- TM-P60II
- TM-P80
- TM-P80II
- TM-T100
- TM-T20
- TM-T20II
- TM-T20III
- TM-T20IIIL
- TM-T20IV-L
- TM-T20X
- TM-T20X-II
- TM-T70
- TM-T70II
- TM-T81III
- TM-T82II
- TM-T82III
- TM-T82IIIL
- TM-T82IV-L
- TM-T82X
- TM-T82X-II
- TM-T83III
- TM-T83IV
- TM-T88IV
- TM-T88V
- TM-T88VI
- TM-T88VII
- TM-T90
- TM-U220
- TM-U220II
- TM-U230
- Obsolete Commands
- Commands Arranged by Function
- Print Commands
- Line Spacing Commands
- Character Commands
- Printing Paper Commands
- Label and black mark control
- Print Position Commands
- Paper Sensor Commands
- Mechanism Control Commands
- Bit Image Commands
- Bit Image
- GS ( L / GS 8 L
- GS D
- Graphics
- NV Graphics
- Download Graphics
- Panel Button Commands
- Status Commands
- Barcode Commands
- Two-dimensional Code Commands
- GS ( k
- PDF417
- QR Code
- MaxiCode
- 2-dimensional GS1 DataBar
- Composite Symbology
- Aztec Code
- DataMatrix
- Macro Function Commands
- Kanji Commands
- Miscellaneous Commands
- DLE ENQ
- DLE DC4 <fn=1>
- DLE DC4 <fn=2>
- DLE DC4 <fn=3>
- DLE DC4 <fn=7>
- DLE DC4 <fn=8>
- ESC ( Y
- ESC =
- ESC @
- ESC L
- ESC S
- ESC p
- GS ( A
- GS ( D
- GS I
- GS P
- GS g 0
- GS g 2
- GS z 0
- Response or status transmission
- Print control methods
- Beeper tone control
- Graphics drawing
- Receipt enhancement control
- Page mode control
- Customize Commands
- User setup
- GS ( E
- GS ( E <fn=1>
- GS ( E <fn=2>
- GS ( E <fn=3>
- GS ( E <fn=4>
- GS ( E <fn=5>
- GS ( E <fn=6>
- GS ( E <fn=7>
- GS ( E <fn=8>
- GS ( E <fn=9>
- GS ( E <fn=10>
- GS ( E <fn=11>
- GS ( E <fn=12>
- GS ( E <fn=13>
- GS ( E <fn=14>
- GS ( E <fn=15>
- GS ( E <fn=16>
- GS ( E <fn=48>
- GS ( E <fn=49>
- GS ( E <fn=50>
- GS ( E <fn=51>
- GS ( E <fn=52>
- GS ( E <fn=99>
- GS ( E <fn=100>
- Printer customization
- NV user memory
- User setup
- Counter Printing Commands
- Programming Examples
- Appendixes