Star Micronics SB-15 Printer User Manual


 
You may wonder why they picked l/72 of an inch as the in-
crement 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 tine as one
dot-unless you want finer spacing, like one half dot spacing
(STAR mode) or one third dot spacing (IBM mode).
The < ESC > “3” CHR$(n) command sets the line spacing in
increments of 1/144inch (STARmode) or l/216 inch(IMBmode).
Change line 30 in your program so it is like this:
-
-
30 LPRINT CHR$(27) “3” CHR$(I);
-
and run the program again. Now the results will look like this:
(STAR mode)
This line spacing is set to 20
This line spacing is set to 21
This line
spacing is set tc! 22
This line spacing is set to 23
This line spacing is set to 2’4
This line spacing is set to 25
Line cpacing is set to l/b inch !n@mal~.
(IBM mode)
(riomal ) .
52