A SERVICE OF

logo

To be consistent with the ROM characters, we use only
7
rows. The
character would normally go in the top 8 rows, but we shift all the
dots down one row so that 7-bit systems can stay with the program.
Also note that two adjacent dots cannot be printed in the
same
row.
Even in Half-Speed Mode, the printer simply refuses to print two
overlapping dots. Figure 15-3 illustrates an E that is incorrectly
designed because it uses overlapping dots:
Figure 75-3. Incorrectly designed E
Dots into DATA
The data numbers for each column of Figure
15-2
are calculated in
the same manner as the data for Graphics Mode. And the appropriate
numbers can just as easily be stored in DATA statements. Type in the
READ routine and data for the character in Figure
15-2:
150
FOR X=1 TO 11: READ C:
LPRINT CHR$(C);: NEXT X
1170 DATA
62,65,8,65,8,65,28,65,34,0,0:
'My E
Notice that the DATA statement contains 11 numbers even though the
design uses only 9 of the 11 columns. Unused columns must be coded
as 0.
202