Changing Pitches Now you can uy other pitches. As we explained in Chapter 3, the MPS 1000 uses the same pattern of dots for pica, elite and condensed characters, but it changes the horizontal spaces between the dots to produce the three different widths. In elite mode there are 12 characters per inch. The MPS 1000 prints in elite when it receives the ESCape ":" command and prints in con- densed when it receives the ASCII 15 command. Print a sample line of elite characters by adding this line to the previous MBASIC program: This line uses the command for elite, ESCape ":", to turn on that mode. Your printout should look like the one below.
20 LPRINT CHR$(27)":"; ABCDEFGHIJKLMNOPQRSTUVWXYZ[\J A_' abcdefghi NOTE: No NLQ font is present for elite. Canceling 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 excep- tions, the MPS 1000 modes stay on until they are canceled. It is impor- tant to remember this because an MPS 1000 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 condensed mode; therefore, the memo will be in condensed print. To cancel condensed, use ASCII 18.
To avoid having one program interfere with the printing modes of another, you can cancel a mode one of two ways: • Each mode has a canceling code, which you can find in the discussion of the code and in Appendix B. Pica is an exception to this rule. To cancel pica, turn on elite or condensed. By resetting the printer, a method explained below. Resetting the Printer Resetting your MPS 1000 cancels all modes that are turned on. You can reset the printer with one of two methods: • Sending the reset code (ESCape ''@ '') • Turning the printer off, then on. 61