A SERVICE OF

logo

4.4 How to obtain
nl
and
n2
In the MX-82 Printer, you have to send the amount of data by
nr
+
n2
in hexadecimal
numbers following the ESC K or ESC L. If the amount of bit image data is 300, then
nt
and
nz
may be derived as follows;
nl
= (Amount of data) MOD 256
= 300 MOD 256
=
<44>D
=
<2c>H
n2
=
INT (Amount of data/256)
= INT (300/256)
=<l>D
-<ol>H
You can also use Appendix 4, code Table, to find the corresponding hexadecimal
numbers to the decimal numbers. The schematic of data transfer sequence in the
Bit Image mode is shown in Fig. 64.
ESC code
I
t
CHR$(27)
ā€œLā€
code
L-t
CHR$(76)
I
1-
Number
of
data
n1
1
1
Numberof
data
n2
1
n,
=
Data
MOD
256
n2
=
INT
(Data/2561
CHR$(n,
1
H
CHR$(n,
)
Fig. 64 Data Transfer Sequence in Bit Image Mode
-72-