Star Micronics NX-10 Printer User Manual


 
Table 3-7
Condensed print commands
Function
Control code
Condensed ON
CHR$(15) 01 (ESC) CHR$(15)
Condensed OFF
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:
' Demo
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
LPRINT
"This line is CONDENSED ELITE pitch."
CHR$(27);"P";
"This line is CONDENSED PICA pitch."
CHR$(18);
CHR$(27);"M";
IfThis line is NORMAL ELITS; pitch."
CHR$(27);"P";
"This line is NORMAL PICA pitch."
CHR$(27);"Wl";
CHR$(lS);
CHR$(27);"M";
100 LPRINT
110 LPRINT
120 LPRINT
130 LPRINT
140 LPRINT
150 LPRINT
ELITES."
160 LPRINT
17 0 LPRIN,T
PICA."
180 LPRINT
190 LPRINT
200 LPRINT
210 LPRINT
220 LPRINT
230 LPRINT
240 END
"This line is EXPANDED CONDENSED
"This line is EXPANDED CONDENSED
CHR$(18);
CHR$(27);"M";
"This is EXPANDED ELITE."
CHRS(27);"P";
"This is EXPANDED PICA."
CHR$(27) ;"WO"
of various print pitches
CHR$(15);
CHR$( 27);wy
Here’s what you should get from this program: