Star Micronics Radix User Manual page 93

Table of Contents

Advertisement

Line Suacine and Forms Control
79
The (ESC) "3" CHR$(n) command sets the line spacing in
increments
of 11144 inch. Change line
50
in your program so it is
like this:
50 PRINT
#l,CHR$(27) "3" CHR$(I) ;
and run the program again. Now the results will look like this:
s'pac
i
spat!
spac1
spaci
RADIX
line
spaci
RADIX
line
spaci
RADIX
line
spaci
RADIX
line
spaci
RADIX
line
spaci
Line
spacing
is
n4
set
to
ng
set
to
ng
5et
to
nq
set
to
nS
set
to
2 1
ng
set
to
22
ng
set
to
23
ng
set
to
24
ng
set
to
25
set
to
l/6
inch
(nor
ma1 ).
The program works just the same as before, but the line spac-
ings are just half what they were. This is because (ESC) "3"
CHR!$(n) sets the line spacing to n/144 inch.
Table 82 shows all the line spacing commands, including sev-
eral "shortcut" commands for commonly used line spacings.
Let's take a look at the last two commands in the table, which
give a one-time line feed (or reverse line feed) of n/144 inch. The
(ESC) "J" CHR$( n command does not change the setting of the
)
line spacing, but it does cause the printer to make one line feed of
n/144 inch. Try this program to see how it works:
10 'Demo one-time line feeds.
20 LPRINT "Line number 1."
30 LPRINT "Line number 2." ;
40
'One time line feed
l@iI/l44
inch.

Advertisement

Table of Contents
loading

Table of Contents