Star Micronics Radix User Manual page 79

Table of Contents

Advertisement

Printing Text With
Radix
65
Expanded print
Each of Radix's three print pitches can be enlarged to twice
its normal width. This is called expanded print. Try this program
to see how it works:
18 'Demo expanded mode.
2pl LPRINT "Demonstration of I' ;
3@
LPRINT CHR$(14) ; 'Expanded mode on.
4(8
LPRINT "EXPANDED" ;
5p LPRINT CHR$(2@) ; 'Expanded mode off.
68
LPRINT II printing."
79 LPRINT "Notice that I1 ;
8pl LPRINT CHR$(l4) ; 'Expanded mode on.
9p!
LPRINT "EXPANDED mode"
1@0 LPRINT "automatically turns off at end of a line."
Demonstration
o+
EXF.f%NDEI~
printing.
N&ice
that E!SXF'ACzrREZK3
mod
GG
autamatically
turns
c3.f.f at
end
of
a
I
ine.
Expanded print set with CHR$(14) is automatically canceled
at the end of the line. This is convenient in many applications,
such as for one line titles. Note that you don't need to put an
(ESC) in front of the CHR$(14), although (ESC) CHR$(14) works
just the same.
You can also cancel one line expanded print before a carriage
return with CHR$(20), as done in line 50.
Sometimes you may wish to stay in expanded print for more
than one line. Change your program to this:
10 'Demo permanent expanded mode.
20 LPRINT CHR$(27) "W" CHR$(l) ; 'Expanded mode on
permanently.
30 LPRINT "Permanent expanded"
40
LPRINT "mode stays on until"
50 LPRINT "it is 'I;
60
LPRINT CHR$(27) "W" CHR$(0) ; 'Expanded mode off.
70 LPRINT 'turned off."

Advertisement

Table of Contents
loading

Table of Contents