5525B/31/32 Line Matrix Printer LinePrinter Plus Programmer's Reference
144
Chapter 5 Bit Image Graphics
Figure 3. Vertical Data Byte Pattern
The relationship between the ASCII character, its decimal value, and its bit
image plot is shown in Figure 4. All 8 bits of the data byte are used in all fonts,
but some fonts have taller and shorter characters. (You may have to adjust
the line spacing in order to print without horizontal gaps.) Data bytes are
identified by their binary, octal, hexadecimal, or decimal equivalents. These
numeric equivalents are combined in data streams to form graphic patterns
such as the one illustrated in Figure 5.
Figure 4. Bit Image Pattern from an ASCII Character
Bit Image plotting is not limited to printable ASCII characters. You can print Bit
Image patterns for any 8-bit data byte with decimal values ranging from 0
through 255. (The ASCII character set is charted in Appendix A.)
MSB
MSB
87654321
8
7
6
5
4
3
2
1
MSB : Most Significant Bit
ASCII character A = Hex 41 = Binary 01000001
=A65=
MSB
=
ASCII
Character
Decimal
Value
Binary
Code
Equivalent
to
Vertically
Rotated Data
Byte
Bit Image
128
64
32
16
8
4
2
1
Printed