Star Micronics Radix User Manual page 96

Table of Contents

Advertisement

82
Forms Controls
Radix User's Manual
We have seen how to control the spacing between lines on a
page. Radix also has commands that control the placement of
printing on the page, and even adjust for different size pages.
Form feed
The simplest forms control code is the
form
feed. Form feed
(or (FF)) is
CHR$(12)
and causes the printer to move the paper to
the top of the next sheet. Try it by changing lines
40
and
50
to this:
-
_
40
'Form feed
50 LPRINT CHR$(12) ;
Before you run the program, turn your printer off and adjust
the paper so that the top of the sheet is even with the top of the
ribbon guide on the print head, then turn the printer back on. If
you don't remember how to do this, review Chapter
1.
When you
run the program, the results will look like this:
0 '
Line
number
1.
Line
number
2.
0 '
O /
0 '
O /
--c---------
O
I
Line
number
3.
-
I
Line
number
4.
O /
0 I

Advertisement

Table of Contents
loading

Table of Contents