
CD5220 customer display
14
6. 7
EPSON Esc/pos command list
Command
Code description(hex) Function description
HT
09
move cursor right.
BS
08
move cursor left.
US LF
1F 0A
move cursor up.
LF
0A
move cursor down.
US CR
1F 0D
move cursor to right-most position.
CR
0D
move cursor to left-most position.
HOM
0B
move cursor to home position.
US B
1F 42
move cursor to bottom position.
US $ x y
1F 24 x y
x=1-20,y=01,02
move cursor to specified position.
CLR
0C
clear display screen.
CAN
18
clear cursor line.
US X n
1F 58 n 01<=n<=04
brightness adjustment.
US E n
1F 45 n n=00-ff
blink display screen.
ESC @
1B 40
initialize display.
ESC t n
1B 74 n n=00-0f
select character code table.
ESC R n
1B 52 n n=00-0f
select international character set.
US r n
1F 72 n n=00,01
select/cancel reverse character.
US MD1
1F 01
specify overwrite mode.
US MD2
1F 02
specify vertical scroll mode.
US MD3
1F 03
specify horizontal scroll mode.
ESC & s n m
[a(p1..pa)]x m-n
1B 26 1 n m
[a(p1..pa)]x m-n
20<n<=m<=ff
define download characters.
20<n<=m<=ff a=1-5
p1..p5 =row1..row5
ESC ?
1B 3F 20 n FF
delete download characters.
ESC %
1B 25
select/cancel downloaded
character set.
EPSON Esc/pos command list (continued)
Command
Code description(hex)
Function description
ESC W n s x1 y1
x2 y2
1B 57 n s x1 y1 x2 y2
n=1,2,3,4
s=0,1
specify / cancel the window
range.
1<=x1<=x2<=20
1<=y1<=y2<=2
ESC = n
1B 3D n
n=1,31 ,select printer
n=2,32 ,select display
select peripheral device.
US :
1F 3A
set starting/ending position of
macro definition.
US ^ n m
1F 5E n m
00<=(n, m)<=ff
execute and quit macro.
US @
1F 40
execute a self-test.
US T h m
1F 54 h m
0<=h<=17 , 0<=m<=3b
display time
US U
1F 55
display time continuously
ESC s 1
1F 73 01
store define download character
to EEPROM
ESC d 1
1F 64 01
Restore user define character
from EEPROM
Table 6-10