Download Epson P07303 User manual

Transcript
8.8.
EPSON ESC/POS Command List
EPSON ESC/POS Command List-1
Command
Code (hex)
ESC t n
1B 74 n
n=00-0fh
ESC R n
1B 52 n
n=00-0fh
US r n
1F 72 n
n=00,01
US MD1
1F 01
US MD2
1F 02
US MD3
1F 03
CAN
18
ESC # n
1B 23 n
30h≦n≦38h
US # n m
1F 23 n m,
n=0 or 1,0<m≦20
US C n
1F 43 n
n=1,31 then on
BS
08
HT
09
US LF
1F 0A
LF
0A
US CR
1F 0D
CR
0D
HOM
0B
US B
1F 42
US $ x y
1F 24 x y
1≦x≦20,y=1 or 2
CLR
0C
US E n
1F 45 n
n=00h~FFh
ESC @
1B 40
US . n
1F 2E n
n=a displayable character code
US , n
1F 2C n
n=a displayable character code
US ; n
1F 3B n
n=a displayable character code
23
Function Description
Select character code table.
See note *2
Select international character set.
See note *1
Select/cancel reverse character.
Specify overwrite mode.
Specify vertical scroll mode.
Specify horizontal scroll mode.
Clear cursor line
Command type select
Turn annunciator on/off
Set cursor on/off
Move cursor left
Move cursor right
Move cursor up
Move cursor down
Move cursor to right-most position
Move cursor to left-most position
Move cursor to home position
Move cursor to bottom position
Move cursor to specified position
Clear display screen
Blink display screen
n=00h~FFh, n=0 for no blink
Initialize display
Specify period
Specify comma
Specify semicolon (period + comma)