HP Retail Integrated 2x20 Display Programming Guide

7
Chapter 3 Command Description
3.1 Command Set
3.1.1 ULTIMATE Command Mode
Command
Hex
Function Description
HT
09
Move cursor right
BS
08
Move cursor left
US LF
1F0A
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
Move cursor to specified position
1
x(column)
20 ; 1
y(row)
2
US C n
1F 43 n
Select/cancel cursor display
n=0, canceled ; n=1, selected
CLR
0C
Clear display screen
CAN
18
Clear cursor line
US X n
1F 58 n
Brightness adjustment
1
n
4
US E n
1F 45 n
Blink display screen
0n255 (n*50msec) ON / (n*50msec) OFF
n= 0, blinking is canceled
n=255, display is turned off
ESC @
1B 40
Initialize display
ESC t n
1B 74 n
Select character code table
ESC R n
1B 52 n
Select international character set
US r n
1F 72 n
Select/cancel reverse character
n=0, canceled ; n=1, selected
US MD1
1F 01
Specify overwrite mode
US MD2
1F 02
Specify vertical scroll mode
US MD3
1F 03
Specify horizontal scroll mode
ESC & s n m
[a(pl..p5)] (m-n+1)
1B 26 s n m
[a(pl..p5)](m-n+1)
Define download characters
s=1 ; 32nm126 ; a=5
(p1..p5 = pattern1..pattern5)
ESC ? n
1B 3F n
Cancel user-defined characters
32
n
126 (n=character code)
ESC % n
1B 25 n
Select/cancel download character set
n=0, canceled ; n=1, selected
ESC W n s (x1 y1
x2 y2)
1B 57 n s (x1 y1 x2 y2)
Specify/cancel the window range
n=1,2,3,4 (four windows) ; s=0,1 (disable, enable)
1x1x220 (column) ; 1y1y22 (row)
ESC = n
1B 3D n
Select peripheral device
n=1, printer ; n=2, display ; n=3, printer & display