User manual

26
CD5220 Standard Mode Command List-2
Command Code (hex) Function Description
ESC W s x1 x2 y 1B 57 s x1 x2 y Set or cancel the window range at horizontal
scroll mode
¾ 1 x1 x2 14h, for columns
location.
¾ y = 1~2, for lines location.
¾ s = 0: cancel
s = 1: set
CLR 0C Clear display screen, and clear string mode
CAN 18 Clear cursor line, and clear string mode
ESC * n 1B 2A n
US X n 1F 58 n
Brightness adjustment
¾ n = 1 ~ 4, n = 4 for highest brightness
ESC _ n 1B 5F n Set cursor on/off
¾ n = 1: cursor on
n = 0: cursor off
ESC f n 1B 66 n Select international fonts
¾ About n, refer.
*3
ESC c n 1B 63 n Select fonts, ASCII code or JIS code,
¾ About n, refer.
*4
ESC = n 1B 3D n Select peripheral device, display or printer
¾ n='1': enable printer only
n='2': enable display only
n='3': enable both of printer and display
Note:
1. While using command “ESC Q A” or “ESC Q B”, other commands cannot be
used except when using command “CLR” or “CAN” to change operating
mode.
2. 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.
3. The parameter of international fonts set control by command “ESC f n”.
Parameter “n” Parameter “n”
Character Hex
International
Font Set
Character Hex
International
Font Set
‘A’ 41h U.S.A. ‘W’ 57h Sweden
‘G’ 47h Germany ‘D’ 44h Denmark I
’I’ 49h Italy ‘E’ 45h Denmark II
‘J’ 4Ah Japan ‘L 4Ch Slavonic
‘U’ 55h U.K. ‘R’ 52h Russia
‘F’ 46h France
‘S’ 53h Spain
‘N’ 4Eh Norway