Epson MX-80II User Manual - Page 78

How to obtain n1 and n2, Number of data MOD 256

Page 78 highlights

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 -72-

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103

4.4 How to obtain n
1
and n
2
In the Type II Printer, you have send the number of data by n
1
+ n
2
in hexa-
decimal numbers following the ESK K or ESC L. If the
number of bit image data is
300, then n
1
and n
2
may be derived as follows;
n
1
= (Number of data) MOD 256
= 300 MOD 256
= (44)
D
=<2C>
H
n
2
= INT (Number of data/256)
= INT (300/256)
= (1)
D
= <01>
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
-72-