You may wonder why l/72 of an inch was chosen as the increment 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, in which case you may use one third dot spacing.

The < ESC > “3” CHR$(n) command sets the line spacing in increments of l/216 inch. Change line 40 in your program to this:

40 LPRINT CHR$(27);“3”;CHR$(I);

and run the program again. Now the results will look like this:

.

The program works just the same as before, but the line spacings are just one-third what they were. This is because < ESC > “3” CHR$(n) sets the line spacing to n/216 inch.

If you run the program with DIP switch 2-4 set off under the Standard mode, you’ll get a different result, as shown below. When DIP switch 2-4 is off, < ESC > “3” CHR$(n) sets the line spacing to n/144 inch, instead of n/216 inch.

Page 69
Image 69
Star Micronics NR-15, NR-10 user manual