CD5220 customer display

6. COMMAND

6.1 CD5220 standard mode command list

Command

Code description(hex)

Function description

ESC DC1

1B

11

 

overwrite mode

ESC DC2

1B

12

 

vertical scroll mode

ESC DC3

1B

13

 

horizontal scroll mode

ESC Q

1B

51 41 [n ]x20 0D

set the string display mode,

A ..........CR

 

 

 

write string to upper line

ESC Q

1B

51 42 [n ]x20 0D

set the string display mode,

B ..........CR

 

 

 

write string to lower line

ESC Q

1B

51 44 [n ]xm 0D

upper line message scroll

D ..........CR

m<40

 

continuously

ESC [ 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

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

ESC [ K

1B

5B

4B

move cursor to bottom position

ESC l x y

1B

6C x y

move cursor to specified

 

1<=x<=20,y=1,2

position

ESC @

1B

40

 

initialize display

ESC W s x1 x2 y

1B

57 1 x1 x2 y

set or cancel the window range

 

1<=x1<=x2<=20 y=1,2

at horizontal scroll mode

Page 15
Image 15
Epson manual CD5220 standard mode command list, Command Code descriptionhex Function description