- 30 -
Chapter 5. Control Commands
5-1. EPSON mode 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
10 14 01 m t Generate pulse in real-time
10 14 02 01 08 Execute power-off sequence
<DLE> <DC4> …
10 14 08 01 03 14
01 06 02 08
Clear buffer(s)
<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