Changing Pitches

Now you can try other pitches. As we explained in Chapter 3, the20 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:

3 0 L P R I N T C H R $ ( 2 7 ) “ P ” C H R $ ( 1 5 ) ;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