Fundamentals of Dot Matrix Pfinting
Print Head | Print Head | &Bit | 7.Bit |
Pin Number | (toIN | Interface | Interface |
| 7 | 128 | ns: used |
| . | ||
| . | 64 | 64 |
| . | 32 | 32 |
| . | 16 | 18 |
| . | 8 | 8 |
| . | 4 | 4 |
| . | 2 | 2 |
| . | 1 | 1 |
| . | not used | not used |
d
Based on the chart presented above, if you had a
CHR!$(128 + 64 + 32 + 16 + 8 + 4 + 2 + 1) = CHR$(255)
Control |
| Binary | Pin | |
Code |
| Representation | Fired | |
CHR$(128) | 10000000 |
| #l | |
CHR$( | 64) | 01000000 |
| #2 |
CHR$( | 32) | 00100000 |
| #3 |
CHR$( | 16) | 00010000 |
| #4 |
CHR$( | 8) | 00001000 |
| #5 |
CHRS( | 4) | 00000100 |
| #6 |
CHR$( | 2) | 00000010 |
| #7 |
CHR$( | 1) | 00000001 |
| #8 |
CHR$( | 0) | 00000000 |
| none |
CHR$(255) | 1 1 1 | 1 1 1 1 1 | all 8 | |
CHR$( | 72) | 01001000 |
| #2 |
93