If you want to print subscript characters (characters appearing below the normalprintline),usetheESCS1commandbeforeenteringthecharacters. To return to printing on the normal print line, use the ESC T command.
Superscript and subscript characters are printed in normal characters.
10 LPRINT “This is ”;
20 LPRINT CHR$(27);“S”;CHR$(0);“superscript”
30 LPRINT CHR$(27);“T”;“This is ”;
40 LPRINT CHR$(27);“S”;CHR$(1);“subscript”
50 LPRINT CHR$(27);“T”;“This is back to normal.”
This is This is
superscript
subscript
This is back to normal
Enhanced and Emphasized Printing
ASCII | Decimal | Hexadecimal |
ESC E | 27 69 | 1B 45 |
ESC F | 27 70 | 1B 46 |
|
|
|
ESC G | 27 71 | 1B 47 |
|
|
|
ESC H | 27 72 | 1B 48 |
|
|
|