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
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
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
1<=x<=20,y=1,2
move cursor to specified
position
ESC @ 1B 40 initialize display
ESC W s x1 x2 y 1B 57 1 x1 x2 y
1<=x1<=x2<=20 y=1,2
set or cancel the window range
at horizontal scroll mode