Star Micronics NX-15 user manual CondensedON, CondensedOFF, CHR$18

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 57
Image 57
CondensedON

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 of various print pitches

20 LPRINTCHR$(15);

30 LPRINTCHR$(27);’’MW;

40 LPRINT “This line is CONDENSEDELITE pitch.”

50 LPRINTCHR$(27);’’P”;

60 LPRINT “This line is CONDENSEDPICA pitch.”

70 LPRINTCHR$(18);

80 LPRINTCHR.$(27);’’M”;

90 LPRINT “This line is NORMALELITE pitch.”

100 LPRINTCHR$(27);’’P”;

110 LPRINT “This line is NORMALPICA pitch.”

120LPRINTCHR$(27);’’W1”;

130LPRINTCHR$(15);

140LPRINTCHR$(27);’’M”;

150LPRINT “This line is EXPANDEDCONDENSEDELITE.”

160LPRINTCHR$(27);’’P”;

170LPRINT “This line is EXPANDEDCONDENSEDPICA.”

180LPRINTCHR$(18);

190LPRINTCHR$(27);’’M”;

200 LPRINT “This is EXPANDEDELITE.”

210 LPRINTCHR$(27);’’P”;

220 LPRINT “This is EXPANDEDPICA.”

230 LPRINTCHR$(27);’’WO”

240 END

Here’s what you should get from this program:

Page 57
Image 57
Star Micronics NX-15 user manual CondensedON, CondensedOFF, CHR$18