HP Retail Integrated 2x20 Display Programming Guide

8
US :
1F3A
Set starting/ending position of macro definition
US ^ n m
1F 5E n m
Execute and quit macro
0(n,m)255
n: specifies the time interval for display of
characters in units of [n* 50msec]
m: specifies the interval of macro execution every
[m*50msec]
US @
1F 40
Execute self-test
US T h m
1F 54 h m
Display time :0
h
23 ; 0
m
59
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
US :
1F3A
Set starting/ending position of macro definition
US ^ n m
1F 5E n m
Execute and quit macro
0(n,m)255
n: specifies the time interval for display of
characters in units of [n* 50msec]
m: specifies the interval of macro execution every
[m*50msec]
US T h m
1F 54 h m
Display time
0h23 ; 0m59
US U
1F 55
Display of time counter
ESC u A..CR
1B 75 41 [data x 20] 0D
Upper line display
ESC u B..CR
1B 75 42 [data x 20] 0D
Bottom line display
ESC u D..CR
1B 75 44 [data x 45] 0D
Upper line message scroll continuously
ESC u E..CR
1B 75 45 hh ‘:’ mm 0D
Set and display 24 hour time
0h ,m9
ESC u F..CR
1B 75 46 [data x 45] 0D
Upper line message scroll once pass
ESC u 1..CR
1B 75 49 [data x 40] 0D
Two line display
ESC [ D
1B 5B 44
Move cursor left
ESC [ C
1B 5B 43
Move cursor right
ESC [ A
1B 5B 41
Move cursor up
ESC [ B
1B 5B 42
Move cursor down
ESC [ H
1B 5B 48
Move cursor to home position
ESC [ L
1B 5B 4C
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
1x20, y =1,2
Move cursor to specified position