Star Micronics NX-15 Printer User Manual


 
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
20 LPRINT
30 LPRINT
40 LPRINT
50 LPRINT
f;O LPRINT
of condensed print
“Demonstrdt. ion of ;
CHR$(15) ;
“CONDENSED”;
CHR$(18) ;
print ing.
~(+(~)(::)rj
:;~’1::,,’- .{(j!:,j (:jf’j ~:]+:
CONDENSEDp 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.