Epson LX-90 User Manual - IBM PC Jr. 8690 PIC for LX-90 - Page 33

Superscript and Subscript, LX-90, LPRINT The formula for water is H, LPRINT 0.

Page 33 highlights

The printer's priority list causes a combination of emphasized and elite to produce elite only, a combination of emphasized and compressed to produce emphasized only, and a combination of all three to produce compressed elite. Also remember that elite or compressed will cancel pica. Master Select is a powerful code that gives you an easy way to produce multiple combinations with a single command. To see double-strike emphasized underlined printing, for example, you need only one ESCape code instead of three. Indeed, Master Select is such a powerful feature that it may occasionally be more powerful than you want it to be. Because it controls seven different modes, a Master Select code will cancel any of those seven that are not selected. For example, suppose that you have a page in elite and want part of it underlined. If you use ESCape "!" 128 to turn on underlining, your LX-90 will begin printing in underlined pica instead of underlined elite because the 128 code does not include elite. Use 129 for underlined elite. Superscript and Subscript Your LX-90 can also print superscripts and subscripts, which you can use for mathematical formulas, footnotes, and other items that require numbers or letters above or below the usual print line. ESCape "SO" turns on superscript and ESCape "Sl" turns on subscript. ESCape "T" turns off either one. You can see them in action with the program below: 10 LPRINT "The formula for water is H"; 20 LPRINT CHR$(27)"S1";"2"CHR$(27)"T"; 30 LPRINT "0." 40 LPRINT CHR$(27)"@" T h e f o r m u l a o r w a t e r i s H2 O . Now that you see how to use the ESCape sequences for superscript and subscript, you can devise your own examples. 28

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100

The printer’s priority list causes a combination of emphasized and
elite to produce elite only, a combination of emphasized and com-
pressed to produce emphasized only, and a combination of all three to
produce compressed elite. Also remember that elite or compressed
will cancel pica.
Master Select is a powerful code that gives you an easy way
to produce multiple combinations with a single command. To see
double-strike emphasized underlined printing, for example, you
need only one ESCape code instead of three.
Indeed, Master Select is such a powerful feature that it may occa-
sionally be more powerful than you want it to be. Because it controls
seven different modes, a Master Select code will cancel any of those
seven that are not selected. For example, suppose that you have a page
in elite and want part of it underlined. If you use ESCape "!”
128
to
turn on underlining, your
LX-90
will begin printing in underlined pica
instead of underlined elite because the
128
code does not include elite.
Use
129
for underlined elite.
Superscript and Subscript
Your
LX-90
can also print superscripts and subscripts, which you
can use for mathematical formulas, footnotes, and other items that
require numbers or letters above or below the usual print line. ESCape
“SO” turns on superscript and ESCape
"Sl"
turns on subscript. ESCape
“T” turns off either one. You can see them in action with the program
below:
10 LPRINT "The formula for water is H";
20 LPRINT CHR$(27)"S1";"2"CHR$(27)"T";
30 LPRINT "0."
40 LPRINT CHR$(27)"@"
The formula or water is H
2
O.
Now that you see how to use the ESCape sequences for superscript
and subscript, you can devise your own examples.
28