Star Micronics NX-15 Printer User Manual


 
60
30 LPRINT “LINE NUMBER 2.“;
40 One-time line feed
!50LPRINT CHR$(27);“J”;CHR$(1O(J);
60 LPRl
NT “LINE NUMBER s .“
70 LPRINT “L1NE NUMBER 4.“
80 END
Here is what your printer will produce:
The (ESC)
“J”CHR$(1OO)in line 50 changes the spacing to
100/216 inches for one line only without moving the printhead.
The rest of the lines printed with the normal line spacing.
Notice that both line 30 and line 50 end with semicolons. This
prevents the normal line feed from occurring.
The (ESC) “j” CHR$(n) command works the same way ex-
cept that the paper moves in the opposite direction. Try this sim-
ple change to your program to see the difference.
40 One-time reverse 1irw feed
50 LPRINT CHR.$(27);“j”;CHR$(100);
. .
PAGECONTROL
Now that we have seen how to control line spacing, we can go
onto page control positioning the printing on the page and ad-
justing the paper length.