4.4 How to obtain nl and n2
In the
nl = (Amount of data) MOD 256
=300 MOD 256
=<44>D
=<2c>H
n2 = INT (Amount of data/256)
=INT (300/256)
=<l>D
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.
I ESC code t
CHR$(27)
“L”code
CHR$(76)
1-
I | Number of data n1 |
| 1 |
| 1 | Numberof data n2 | 1 | ||
|
|
|
| ||||||
n, = Data MOD 256 | H | n2 = INT (Data/2561 | |||||||
CHR$(n, 1 | CHR$(n, ) |
|
| ||||||
|
|
Fig. 64 Data Transfer Sequence in Bit Image Mode
- 7 2 -