I 28
90 LPRINT CHR$(27);"T";
100 LPRINT "on one line."
Here line 30 turns on superscripts with (ESC) “S” 0. It’s
turned off in line 50 with (ESC) “T”. Then between printing
text, subscripts are turned on in line 70 with (ESC) “S” 1, and
finally off in line 90. Again, everything prints on one line
because of the semicolons.
CHANGING THE PRINT PITCH
In “printer talk,” the number of characters that can be printed
in one inch is called the print pitch or character pitch. Normally,
your printer is set for 10 characters per inch, which is called pica
(and is the same as the pica pitch on most typewriters). This
works out to 80 characters per line.
You can also print 12 character per inch (elite pitch). This
gives you 96 characters per line.
You can set these pitches by software as shown in the table
below.
Table 3-5
Print pitch commands
Pitch Characters/inch
Pica 10
Elite 12
Control code
(ESC) “P"
(ESC)“M"
Try this program to see how these two pitches work. Be sure
to set the printer to draft mode.
10 ' Demo of pica and elite pitches
20 LPRINT CHR$(27);"M";
30 LPRINT "This line is ELITE pitch."
40 LPRINT CHR$(27);"P";
50 LPRINT "This line is PICA pitch (normal)."