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

Expanded Mode, Mode Combinations, l0 LPRINT This is standard printing., LPRINT CHR$27W1

Page 30 highlights

Expanded Mode Perhaps the most dramatic mode on the LX-90 is expanded. It produces extra-wide characters that are good for titles and headings. For this mode, the dot pattern of each character is expanded and twice as many dots are printed. You can see the difference between pica and expanded pica if you enter and run this program: l0 LPRINT "This is standard printing." 20 LPRINT CHR$(27)"W1"; 30 LPRINT "This is expanded." 100 LPRINT CHR$(27)"@" This is standard printing This is expanded. For this mode the letter W and the numeral one together turn the mode on and the letter W and the numeral zero together turn it off. Thus ESCape "Wl" turns on expanded and ESCape "WO" turns it off. Those of you who are programmers may be interested in another form of expanded. In this alternate form, called one-line expanded, the printing is the same as that in the example but it is turned on by ASCII 14 and is turned off by a line feed, ASCII 20, or ESCape "W0". Mode Combinations You can also combine modes using control codes. For example, you can make a title especially vivid by combining emphasized and expanded. In fact, you can combine nearly all of the print modes on the LX-90; your LX-90 printer can print such complicated combinations as double-strike emphasized expanded underlined subscript, although you may never want such a combination. The point is, however, that the LX-90 has the ability to produce almost any combination you can think of; it's up to you to decide which ones you want to use. To see emphasized combined with expanded, change two lines in your previous program: 20 LPRINT CHR$(27)"Wl"CHR$(27)"E"; 30 LPRINT "Emphasized expanded" 25

  • 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

Expanded Mode
Perhaps the most dramatic mode on the LX-90 is expanded. It pro-
duces extra-wide characters that are good for titles and headings. For
this mode, the dot pattern of each character is expanded and twice as
many dots are printed. You can see the difference between pica and
expanded pica if you enter and run this program:
l0 LPRINT "This is standard printing."
20 LPRINT CHR$(27)"W1";
30
LPRINT "This is expanded."
100 LPRINT CHR$(27)"@"
This is standard printing
T
h
i
s
i
s
e
x
p
a
n
d
e
d
.
For this mode the letter W and the numeral one together turn the
mode on and the letter W and the numeral zero together turn it off.
Thus ESCape “Wl” turns on expanded and ESCape "WO” turns it off.
Those of you who are programmers may be interested in another
form of expanded. In this alternate form, called one-line expanded,
the printing is the same as that in the example but it is turned on by
ASCII 14 and is turned off by a line feed, ASCII 20, or ESCape “W0”.
Mode Combinations
You can also combine modes using control codes. For example, you
can make a title especially vivid by combining emphasized and
expanded. In fact, you can combine nearly all of the print modes on
the LX-90; your LX-90 printer can print such complicated combina-
tions as double-strike emphasized expanded underlined subscript,
although you may never want such a combination. The point is, how-
ever, that the LX-90 has the ability to produce almost any combina-
tion you can think of; it’s up to you to decide which ones you want to
use.
To see emphasized combined with expanded, change two lines in
your previous program:
20 LPRINT CHR$(27)"Wl"CHR$(27)"E";
30
LPRINT "Emphasized expanded"
25