
48
Now the results look like this:
When you turn on expanded print with (ESC) “W” 1 it stays on until you turn it off with (ESC) “W” O.
Table
Expanded print commands
Function | Control code |
Oneline expandedON | CHR$(14)or (ESC)CHR$(14) |
Oneline expandedOFF | CHR$(20) |
ExpandedON | (ESC) “W” 1 |
ExpandedOFF | (ESC) “W” O |
■Condensed print
Each of the print pitches also can be condensed to its normal width. This is called condensed print. Try this program to see how it works:
10 ‘ Demo of condensed print
20LPRINT “Demonstrdt. ion of “ ;
30LPRINTCHR$( 15) ;
40LPRINT “CONDENSED”;
50 LPRINTCHR$( 18) ; f;O LPRINT “ print ing. ”
Condensed print set with CHR$(15) stays on until you turn it off with CHR$(18). Note that you don’t need to put an (ESC) in front of the CHR$(15), although (ESC) CHR$(15) works just the same.