Epson LX-80 User Manual - Page 43

Changing Pitches, Cancelling Codes, LPRINT CHR$27 PCHR$15

Page 43 highlights

Changing Pitches Now you can try other pitches. As we explained in Chapter 3, the 20 LPRINT CEIR$( 27 > "M" ; This line uses the command for elite, ESCape "M", to turn on that mode. Your printout should look like the one below. i'; B i: g E i- C; H 1 J x L M bi a ,Q Q 17 5 T [ ! !j' W yi, 'Y Z i \ j ." _ ' ij. 1) c: rj e f g h i The next addition to the program cancels elite with ESCape "P" and turns on compressed with ASCII 15: 30 LPRINT CHR$(27) "P"CHR$(15); Now run the program to see the line printed in compressed mode. Cancelling Codes As you saw in the third version of the print pitch program, you must cancel a code when you do not want it any more. With very few exceptions, the LX-80 modes stay on until they are cancelled. It is important to remember this because an LX-80 mode can stay on even if you change from BASIC to another type of software. For example, if you print a memo with a word processing program after you run the program above, the printer will still be in compressed mode; therefore, the memo will be in compressed print. To cancel compressed, use ASCII 18. 37

  • 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
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158

Changing Pitches
Now you can try other pitches. As we explained in Chapter 3, the
20
LPRINT
CEIR$(
27
>
“M”
;
This line uses the command for elite, ESCape “M”, to turn on that
mode. Your printout should look like the one below.
i;
B
i:
g
E
i-
C;
H
1
J
x
L
M
bi
a
,Q
Q
17
5
T
[
!
!j
W
yi,
Y
Z
i
\
j
.
_
ij.
1)
c:
rj
e
f
g
h
i
The next addition to the program cancels elite with ESCape “P”
and turns on compressed with
ASCII 15:
30 LPRINT CHR$(27) “P”CHR$(15);
Now run the program to see the line printed in compressed mode.
Cancelling Codes
As you saw in the third version of the print pitch program, you
must cancel a code when you do not want it any more. With very few
exceptions, the LX-80 modes stay on until they are cancelled. It is
important to remember this because an LX-80 mode can stay on even
if you change from BASIC to another type of software. For example,
if you print a memo with a word processing program after you run
the program above, the printer will still be in compressed mode;
therefore, the memo will be in compressed print. To cancel compres-
sed, use ASCII 18.
37