
Title
Rev.
Page
HP-283 Technical Manual
Ver1.01
P.40
ESC+‟&‟+y+c1+c2+[X1 d1….d(y x X1)]…[Xk d1…d(y x Xk)]
[Name]
Download character set (Definition / Register)
[Format]
ASCII
ESC % y c1 c2 X1 d1…d(y x X1)…Xk d1…d(y x Xk)
Hex
1B 26h
y c1 c2 X1 d1…d(y x X1)…Xk d1…d(y x Xk)
Decimal
27 38 y
c1 c2 X1 d1…d(y x X1)…Xk d1…d(y x Xk)
[Range]
y=3(FONT A(12x24)
y=2(FONT B(9x16)
32
≤c1≤c2≤126
0≤X≤12 (FONT A(12x24))
0≤X≤9 (FONT B(9x16))
0≤d≤255
k=c2-c1+1(the number of character)
[Description]
y is the number of byte of vertical.
c1 is a code the start of definition.
c2 is a code the finish of definition.
X is a number of dots (horizontal).
D is a pattern of definition.
ESC+‟p‟+n+t1+t2
[Name]
Cash drawer & Melody box
[Format]
ASCII
ESC
p
n
t1
t2
Hex
1Bh
70h
n
t1
t2
Decimal
27
112
n
t1
t2
[Range]
n=0,1,48,49, 0≤t1≤255, 0≤t2≤255
[Description]
According to n, you can set up ON of the cash drawer and the melody box
for the time (t1 x 2ms), and set up OFF (t2 x 2ms).
t1 : (t1 x 2ms) operation for the time ON.
t2 : (t2 x 2ms) operation for the time OFF.
n
Function
0,48
Choose Cash drawer 1 (Connector 2)
1,49
Choose Cash drawer 2, or Melody box (Connector 5)
[
Caution
]
If it is t1 > t2 (ON > OFF), t2 extends as long as t1.
To avoid heating the electric parts,
it is recommended t1 operates shortly as you can.
When the melody box operates, please choose the cash drawer 2.
(connector 5, n=1 or 49).