Epson LX-90 User Manual - Apple IIc 8699 PIC for LX-90 - Page 45

eight pins, and you send only one number for each column. The num, want to fire both together

Page 45 highlights

eight pins, and you send only one number for each column. The numbering system that allows you to use a single number to specify which of the 256 possible patterns you want is shown in Figure 7-l. 128 64 32 16 8 4 2 1 Figure 7-l. Pin labels To fire any one pin, you send its number. To fire more than one pin at the same time, add up the numbers of the pins and send the sum to the printer. With these labels for the pins, you fire the next-to-the-top pin by sending 64. To fire the bottom graphics pin, you send 1. If you want to fire both together, you simply add 64 and 1, then send 65. By adding the appropriate label numbers together, you can fire any combination of pins. Figure 7-2 shows three examples of how to calculate the number that will fire a particular pattern of pins. Figure 7-2. Calculating numbers for pin patterns With this numbering system, any combination of the eight pins adds up to a decimal number between 0 and 255, and no numbers are duplicated. 43

  • 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
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

eight pins, and you send only one number for each column. The num-
bering system that allows you to use a single number to specify which
of the 256 possible patterns you want is shown in Figure
7-l.
128
64
32
16
8
4
2
1
Figure 7-l.
Pin
labels
To fire any one pin, you send its number. To fire more than one pin
at the same time, add up the numbers of the pins and send the sum to
the printer. With these labels for the pins, you fire the next-to-the-top
pin by sending 64. To fire the bottom graphics pin, you send 1. If you
want to fire both together, you simply add 64 and 1, then send 65.
By adding the appropriate label numbers together, you can fire any
combination of pins. Figure 7-2 shows three examples of how to calcu-
late the number that will fire a particular pattern of pins.
Figure
7-2.
Calculating numbers
for
pin patterns
With this numbering system, any combination of the eight pins
adds up to a decimal number between 0 and 255, and no numbers are
duplicated.
43