COMMAND SET
CPD-3230 Customer Pole Display
20
CHAPTER 6
COMMAND SET
6.1 ESC/POS Mode Command Set
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
01h
≦
x
≦
14h, y=01h, 02h
Move cursor to specified position.
CAN
18
Clear cursor line.
CLR
0C
Clear display screen.
US X n
1F 58 n
01h
≦
n
≦
04h (=brightest)
Brightness adjustment.
US E n
1F 45 n
00h
≦
n
≦
FFh
Blink display screen.
ESC @
1B 40
Initialize display.
ESC # n
1B 23 n
30h
≦
n
≦
38h
Command type select
ESC R n
1B 52 n
00h
≦
n
≦
0Ch
Select international character set.
(see Table 5-A)
ESC t n
1B 74 n
n=00h, 01h..07h, 10h, 13h
Select character code table.
(see Table 5-B)
US r n
1F 72 n
n=00h, 01h
Select/Cancel reverse character.
n=01 select, n=00 cancel
US # n m
1F 23 n m
n=00h, 01h, 01h<m
≦
14h
Turn annunciator on/off
n=01 on, n=00 off
US C n
1F 43 n
n=00h, 01h
Set cursor on/off
n=01 on, n=00 off
US MD1
1F 01
Specify overwrite mode.
US MD2
1F 02
Specify vertical scroll mode.
US MD3
1F 03
Specify horizontal scroll mode.
US @
1F 40
Execute self-test.