The “p” 1 in line 40 turns on the proportional printing, and the “p” 0 in line 50 turns it off.
9. Next type:
6 0 L P R I N T C H R $ ( 2 7 ) “ E ” “EMPHASIZED PRINTING” ; 7 0 L P R I N T C H R $ ( 2 7 ) “ F ” ;
10.Now press RETURN, type RUN, and press RETURN again. The
NORMAL PRINTING
ITALIC PRINTING
PROPORTIONAL PRINTING
EMPHASIZED PRINTING
The “E” in line 60 turns on the emphasized printing and the “F” in line 70 turns it off.
The program is now complete. To see it fully assembled on the screen, type LIST and press RETURN. You will see:
10LPRINT “NORMAL PRINTING” CHR$(10) CHR$(13);
20LPRINT CHR$(27) “4” “ITALIC PRINTING”;
30LPRINT CHR$(27) “5” CHR$(1O) CHR$(13);
40LPRINT CHR$(27) “p” CHR$(1) “PROPORTIONAL PRINTING”;
50LPRINT CHR$(27) “p” CHR$(0) CHR$(10) CHR$(13);
60LPRINT CHR$(27) “E” “EMPHASIZED PRINTING”;
70LPRINT CHR$(27) “F”;
To send the entire program to the printer, type RUN, press RETURN, and the
NORMAL PRINTING
ITALIC PRINTING
PROPORTIONAL PRINTING
EMPHASIZED PRINTING
Using Master Select Command
The
<ESC> “!” 66 | 35 |
|