beautypg.com

Epson P07303 User Manual

Page 20

background image

16

6

7.2 CD5220 Standard Mode Command List

Command

Code (hex)

Function description

ESC DC1

1B 11

Overwrite mode

US SOH

1F 01

Overwrite mode

ESC DC2

1B 12

Vertical scroll mode

US STX

1F 02

Vertical scroll mode

ESC DC3

1B 13

Horizontal scroll mode

US ETX

1F 03

Horizontal scroll mode

ESC Q A .. CR

1B 51 41 [n]x20 0D

Set the string display
mode, write string to
upper line.

ESC Q B .. CR

1B 51 42 [n]x20 0D

Set the string display
mode, write string to
lower line.

ESC Q D .. CR

1B 51 44 [n]xm 0D
m 40

Upper line message
scroll continuously

ESD [ D

1B 5B 44

Move cursor left

BS

08

Move cursor left

ESC [ C

1B 5B 43

Move cursor right

HT

09

Move cursor right

ESC [ A

1B 5B 41

Move cursor up

US LF

1F 0A

Move cursor up

ESC [ B

1B 5B 42

Move cursor down

LF

0A

Move cursor down

ESC [ H

1B 5B 48

Move cursor to home
position

HOM

0B

Move cursor to home
position

ESC [ L

1B 5B 4C

Move cursor to left-most
position

CR

0D

Move cursor to left-most
position

ESC [ R

1B 5B 52

Move cursor to right-most
position

US CR

1F 0D

Move cursor to right-most
position

ESC [ K

1B 5B 4B

Move cursor to bottom
position

US B

1F 42

Move cursor to bottom
position

ESC b [n]xC8
[m]xC8

1B 62 [n]xC8h
[m]xC8h

Save demo message to
EEPROM
n=Line 1; m=Line 2

ESC # n

1B 23 n (n=30~37)

Command type select

US @

1F 40

Execute self test

US E n

1F 45 n

Blink display mode


(REMARK)
*While using command “ESC Q A” or “ESC Q B”, other commands can not be used except when using
command “CLR” or “CAN” to change operating mode.
*When using command “ESC Q D”, the upper line message will scroll continuously until a new command

is received, it will then clear the upper line and move the cursor to the upper left-end position.