
54
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 for the
You can also print 12 character per inch (elite pitch) which gives you 96 or 163 characters per line, or 15 character per inch
You can set these pitches by using the Print Pitch key on the control panel manually, or by software as shown in the table below.
Table
Print pitch commands
-
Try this program to see how these three pitches work. Be sure to set the printer to Standard mode.
10 ' Demo of print pitches
20 LPRINT CHR$(27);"g";
30 LPRINT "This line is
40 LPRINT CHR$(27);"M";
50 LPRINT "This line is ELITE pitch."
60 LPRINT CHRS(27);"P";
70 LPRINT "This line is PICA pitch (norma l)."