EPSON ESC/POS COMMANDS
RTP-2262 Thermal Receipt Printer
13
Chapter 4 : EPSON ESC/POS Commands
Command
Hexadecimal
Function
<HT>
09
Horizontal tab
<LF>
0A
Print and line feed
<FF>
0C
Print and return to standard mode (In
page mode)
<CR>
0D
Print and carriage return
<CAN>
18
Cancel print data in page mode
<DLE> <EOT> n
10 04 n
Real-time status transmission
<DLE> <ENQ> n
10 05 n
Real-time request to printer
<DLE> <DC4> …
10 14 01 m t
Generate pulse in real-time
<ESC> <FF>
1B 0C
Print data in page mode
<ESC> <SP> n
1B 20 n
Set right-side character spacing
<ESC> ! n
1B 21 n
Select print mode(s)
<ESC> $ nL nH
1B 24 nL nH
Set absolute print position
<ESC> % n
1B 25 n
Select / cancel user-defined character set
<ESC> & y c1 c2 …
1B 26 y c1 c2 …
Define user-defined characters
<ESC> * m nL nH …
1B 2A m nL nH …
Select bit-image mode
<ESC> - n
1B 2D n
Turn underline mode on/off
<ESC> 2
1B 32
Select default line spacing
<ESC> 3 n
1B 33 n
Set line spacing
<ESC> = n
1B 3D n
Select peripheral device
<ESC> ? n
1B 3F n
Cancel user-defined characters
<ESC> @
1B 40
Initialize printer
<ESC> D n1…nK 00
1B 44 n1…nk 00
Set horizontal tab positions
<ESC> E n
1B 45 n
Turn emphasized mode on/off
<ESC> G n
1B 47 n
Turn double-strike mode on/off
<ESC> J n
1B 4A n
Print and feed paper
<ESC> L
1B 4C
Select page mode
<ESC> M n
1B 4D n
Select character font
<ESC> R n
1B 52 n
Select an international character Set
<ESC> S
1B 53
Select standard mode
<ESC> T n
1B 54 n
Select print direction in page mode
<ESC> V n
1B 56 n
Turn 90°clockwise rotation mode on/off
<ESC> W xL …
1B 57 xL …
Set printing area in page mode
<ESC> \ nL nH
1B 5C nL nH
Set relative print position
<ESC> a n
1B 61 n
Select justification
<ESC> c 3 n
1B 63 33 n
Select paper sensor(s) to output
paper-end signals
<ESC> c 4 n
1B 63 34 n
Select paper sensor(s) to stop printing
<ESC> c 5 n
1B 63 35 n
Enable/disable panel buttons
<ESC> d n
1B 64 n
Print and feed n
lines
<ESC> p m t1 t2
1B 70 m t1 t2
General pulse
<ESC> t n
1B 74 n
Select character code table
Refer to 5.3
<ESC> { n
1B 7B n
Turn upside-down printing mode on/off
FS ! n
1C 21 n
Set print mode(s) for Kanji characters
FS &
1C 26
Select Kanji character mode