53
In this program underline is turned on in line 30 with (ESC)
“- ” 1, and then off in line 50 with (ESC) “
nSuperscripts and subscripts
Your printer can print in two different heights of characters. The smaller characters are called superscriptsand subscriptsand are half the height of normal characters. Superscriptsprint even- ly with the tops of regular printing while subscriptsprint evenly with the bottom of regular printing. They are frequently used to reference footnotes, and in mathematical formulas.
Table
Table
Superscripts and subscripts commands
Try this program to see them work:
10 | ' Demo | of | superscripts | and subscripts |
20 | LPRINT | "Look! "; |
| |
30 | LPRINT | CHR$(27);"SO"; |
| |
40 | LPRINT | "SUPERSCRIPTS | "; | |
50 | LPRINT | CHR$(27);"T"; |
| |
60 | LPRINT | "& | "; |
|
70 | LPRINT | CHR$(27);"Sl"; |
| |
80 LPRINT | "SUBSCRIPTS | "; | ||
90 | LPRINT | CHR$(27);"T"; |
|
100 LPRINT "on one line."