Star Micronics NX-15 Printer User Manual


 
49
Table 4-7
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
20 LPRINT
30 LPRINT
40 LPRINT
50 LPRINT
60 LPRINT
70 LPRINT
80 LPRINT
90 LPRINT
of various print pitches
CHR$(15);
CHR$(27);’’MW;
“This line is CONDENSEDELITE pitch.”
CHR$(27);’’P”;
“This line is CONDENSEDPICA pitch.”
CHR$(18);
CHR.$(27);’’M”;
“This line is NORMALELITE pitch.”
100 LPRINTCHR$(27);’’P”;
110 LPRINT “This line is NORMALPICA pitch.”
120 LPRINTCHR$(27);’’W1”;
130 LPRINTCHR$(15);
140 LPRINTCHR$(27);’’M”;
150 LPRINT “This line is EXPANDEDCONDENSED
160 LPRINTCHR$(27);’’P”;
170 LPRINT “This line is EXPANDEDCONDENSED
180 LPRINTCHR$(18);
190 LPRINTCHR$(27);’’M”;
200 LPRINT “This is EXPANDEDELITE.”
210 LPRINTCHR$(27);’’P”;
220 LPRINT“This is EXPANDEDPICA.”
230 LPRINTCHR$(27);’’WO”
240 END
ELITE.”
PICA.”
Here’s what you should get from this program: