Star Micronics NB-15 User Manual page 69

Star micronics printer user's manual
Table of Contents

Advertisement

50 FOR I=1 TO 150
60 LPRINT "THIS IS LINE";1
70
NEXT I
90 LPRINT CHR$(lZ);
100 END
' Form feed
When you run this program it will print 150 lines right down
the page and across the perforations.
When it's done line 90
sends a form feed to advance to the top of the next page. Look at
the lines that have printed near the perforations.
Separate the
sheets and see if any of the lines have been torn in half. These
are the problems that the bottom margin will solve.
Now add the following lines to your program.
(Don't forget
the semicolons or you won't get quite the same results that we
did.)
20
'
Leave 6 blank lines at the
bottom
of page
30 LPRINT CHR$(27);"N";CHR$(6);
80 LPRINT CHR$(27);"0"; ' Clear bottom margin
Now when you run the program, your printer skip the last six
lines on each page.
Line 30 sets the bottom margin,
and line 80 clears bottom
margin when we are done.

Advertisement

Table of Contents
loading

Table of Contents