Star Micronics Delta Printer User Manual


 
i--
i L
j L
i or
: c-
c
Line Spacing and Forms Control
45
This is what you will get:
DELTA HAS VARIABLE
DELTA HAS VARIABLE
DELTA HAS VAR I ABLE
DELTA HAS VAR I ABLE
DELTA HAS VARIABLE
DELTA HAS VARIABLE
DELTA HAS VARIABLE
DELTA HAS VARIAELE
LINE
LINE
LINE
LINE
LINE
LINE
LINE
LINE
SF-AC I NG
SPAC I NG
St-AC I NG
SF’ACING
SF’AC I NG
SF’AC I NG
SPACING
WAC I NG
DELTA HAS VARIABLE LINE SPACING
DELTA HAS VARIABLE LINE SFACI NG
DELTA HAS VARIABLE LINE SPACING
DELTA HAS VARIABLE LINE SPACING
DELTA HAS VARIABLE LINE SF’ACING
DELTA HAS VARIABLE LINE SPACING
DELTA HAS VARIABLE LINE SPACING
Line 30 changes the line spacing. The command (ESC) “A”
CHR$(n) changes the line spacing to n/72 of an inch. The loop that
is started in line 10 increases the value of n (the variable I in the
program) each time it is executed. So the line spacing increases as
the program continues. Line 20 just shortcuts the loop when I =
13, since BASIC won’t let us send CHR$(13) without adding an
unwanted CHR$(lO) to it. Finally, the (ESC) “2” in line 60 resets
the line spacing to 6 lines per inch. This is a shortcut that is the
same as ( ESC > “A” CHR$(12).
You may wonder why they picked l/72 of an inch as the incre-
ment for the line spacing command. There’s a good reason: the
dots that the printer makes are l/72 inch apart. So this means that
you can vary the line spacing in increments as fine as one dot-
unless you want finer spacing, like one half dot spacing.
The (ESC) “3” CHR$(n) command sets the line spacing in