Mixing Modes; Table 3-6 Superscript And Subscript Commands - Star Micronics Delta User Manual

Star micronics printer user's manual
Table of Contents

Advertisement

36
Delta User's Manual
can also print in two different heights of characters.
The smaller
characters
are called superscripts and subscripts and are half the
height of normal characters. Superscripts print even with the tops
of regular printing while subscripts print even with the bottom of
regular printing. They are frequently used to reference footnotes,
and in mathematical
formulas.
Table 3-6 has the codes for using superscripts and subscripts.
Table
3-6
Superscript and subscript commands
Function
Control code
Superscript
ON
(ESC) "S" CHR$(O)
Subscript ON
(ESC > "S" CHR$(l)
Super & subscript OFF
(ESC) "T"
Try this program to see them work:
NEW
18 LPRINT "THIS LINE USES";
28 LPRINT CHR$(27) "S" CHR$(@);
3pI
LPRINT 11 SUPERSCRIPTS";
48
LPRINT CHR$(27) "T";
5pI LPRINT " AND";
-
6p LPRINT CHR$(27) "S" CHR$(l);
7pI LPRINT " SUBSCRIPTS";
88 LPRINT CHR$(27) "T";
90 LPRINT t~ BOTH"
-
THIS
LINE
USES
*UPER-CRxPTa
FIND BIU~~SCRIPT(B
BOTH
Here line 20 turns on superscripts with ( ESC > "S" CHR$(O).
It's turned off in line 40 with (ESC)
"T". Then, between printing
text, subscripts are turned on in line 60 with (ESC)
"S" CHR$(l),
and finally off in line 80. Again, everything prints on one line
because of the semicolons.
Mixing modes
We have learned how to use Delta's many different printing
modes individually. Now let's see how we can combine these

Advertisement

Table of Contents
loading

Table of Contents