8 epson esc/pos command list-1 – Epson P07303 User Manual
Page 25

21
1
7.8 EPSON ESC/POS command list-1
Command
Code (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.
US X n
1F 58 n (01 n 04)
Brightness adjustment.
US E n
1F 45 n (n=00~ffh)
Blink display screen.
ESC @
1B 40
Initialize display.
ESC t n
1B 74 n (n=00-0fh)
Select character code table.
ESC R n
1B 52 n (n=00-0fh)
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 ? n
1B 3F n (20 n FF)
Delete downloads characters.
ESC % n
1B 25 n (n=0,30,1,31)
Select/cancel download character set.
CAN
18
Clear cursor line
ESC # n
1B 23 n (30h n 38h)
Command type select
US # n m
1F 23 n m, (n=0 or 1,0<m 20)
Turn annunciator on/off
US C n
1F 43 n (n=1,31 then on)
Set cursor on/off
US . n
1F 2E n, n=a displayable character
code
Specify period
US , n
1F 2C n, n=a displayable character
code
Specify comma
US ; n
1F 3B n, n=a displayable character
code
Specify semicolon(period+comma)