Epson LX-90 User Manual - Apple IIc 8699 PIC for LX-90 - Page 32

Master Select, INPUT Master Select number;M, PRINT CHR$4;PR#l, PRINT This sample of printing uses

Page 32 highlights

Master Select The LX-90 has a special ESCape code called Master Select that allows you to choose any possible combination of seven different modes: pica, elite, compressed, emphasized, double-strike, expanded, and italic. The format of the Master Select code is ESCape '!" followed by a number that is calculated by adding together the values of the modes listed below: italic 64 expanded 32 double-strike 16 emphasized 8 compressed 4 elite 1 pica 0 For any combination, just add up the values of each of the modes you want and use the total as the number after ESCape "!". For example, to calculate the code for expanded underlined pica, add the following numbers together: italic 64 expanded 32 pica 0 96 To print this combination, therefore, you use ESCape "!" followed by the number 96. In the BASIC programming language the command is CHR$(27)"!"CHR$(96). To try this number or any other, enter and run this short program, which will ask you for a Master Select number and then give you a sample of printing using that code. 10 INPUT "Master Select number";M 20 PRINT CHR$(4);"PR#l" 30 PRINT CHR$(27);"!";CHR$(M) 40 PRINT "This sample of printing uses" 50 PRINT "Master Select number";M 60 PRINT CHR$(27);"@" 300 PRINT CHR$(4);"PR#0" Here is part of a sample using Master Select number 96: mple of printing uses Select number 96 29

  • 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
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116

Master Select
The LX-90 has a special ESCape code called Master Select that
allows you to choose any possible combination of seven different
modes: pica, elite, compressed, emphasized, double-strike, expanded,
and italic. The format of the Master Select code is ESCape ‘!” followed
by a number that is calculated by adding together the values of the
modes listed below:
italic
64
expanded
32
double-strike
16
emphasized
8
compressed
4
elite
1
pica
0
For any combination, just add up the values of each of the modes
you want and use the total as the number after ESCape “!“. For exam-
ple, to calculate the code for expanded underlined pica, add the fol-
lowing numbers together:
italic
expanded
pica
64
32
0
96
To print this combination, therefore, you use ESCape “!” followed
by the number 96. In the BASIC programming language the com-
mand is CHR$(27)“!“CHR$(96).
To try this number or any other, enter and run this short program,
which will ask you for a Master Select number and then give you a
sample of printing using that code.
10 INPUT "Master Select number";M
20 PRINT CHR$(4);"PR#l"
30 PRINT CHR$(27);"!";CHR$(M)
40
PRINT "This sample of printing uses"
50 PRINT "Master Select number";M
60
PRINT CHR$(27);"@"
300 PRINT CHR$(4);"PR#0"
Here is part of a sample using Master Select number 96:
m
p
l
e
o
f
p
r
i
n
t
i
n
g
u
s
e
s
S
e
l
e
c
t
n
u
m
b
e
r
9
6
29