c. | 31 |
D
Condensed print set with CHR$(lS) 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.
Table
Condensed | print commands |
Function | Control code |
CondensedON | CHR$(15)or(ESC) CHR$(15) |
CondensedOFF | CHR$(18) |
By combining expanded print and condensed print with the two pitches, this printer has eight different character widths available.
Enter this program to see how the print pitches, expanded print and condensed print can be combined:
10' Demo of various print pitches
20 LPRINT CHR$(15);
30 LPRINT CHR$(27);"M";
40 LPRINT "This line is CONDENSED ELITE pitch."
50LPRINT CHR$(27);"P";
60LPRINT "This line is CONDENSED PICA pitch."
70LPRINT CHR$(~~);
80LPRINT CHR$(27);"M";
90LPRINT "This line is NORMAL ELITE pitch." 100 LPRINT CHR$(27);"P";
110 LPRINT "This line is NORMAL PICA pitch."
120 LPRINT CHR$(27);"W1";
130 LPRINT CHR$(15);
140 LPRINT CHR$(27);"M";
150 LPRINT "This line is EXPANDED CONDENSED ELITE."
160 LPRINT CHRS(27);"P";
170 LPRINT "This line is EXPANDED CONDENSED PICA."
180 LPRINT CHR$(18);
190 LPRINT CHR$(27);"M";
200 LPRINT "This is EXPANDED ELITE."
210 LPRINT CHR$(27);"P";