4.4 How to obtain n1 and n2
In the Type II Printer, you have send the number of data by n1 + n2 in hexadecimal numbers following the ESK K or ESC L. If the number of bit image data is 300, then n1 and n2 may be derived as follows;
n1 = (Number of data) MOD 256
=300 MOD 256
=(44)D
=< 2 C >H
n2 = INT (Number of data/256)
=INT (300/256)
=(1)D
=< 0 1 >H
You can also use Appendix 3, 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.
Fig. 64 Data Transfer Sequence in Bit Image Mode
- 7 2 -