Star Micronics NX-15 user manual CHR$14or ESCCHR$14

Models: NX-15

1 210
Download 210 pages 57.72 Kb
Page 56
Image 56
CHR$(14)or (ESC)CHR$(14)

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 4-6

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. ”

~(+(~)(::)rj:;~’1::,,’- .{(j!:, j (:jf’j ~:]+: CONDENSED p r’ ~ n t i n ij ,,

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.

Page 56
Image 56
Star Micronics NX-15 user manual CHR$14or ESCCHR$14