Star Micronics Radix User Manual page 98

Table of Contents

Advertisement

84
Radix User's Manual
10 'Demo variable form lengths.
20 LPRINT CHR$(27) V" CHR$(@) CHR$(7) ; 'Form length 7
inches.
3p! LPRINT "Pay to the order of:"
40
LPRINT CHR$(l2) ; 'Form feed.
50 LPRINT "Pay to the order of:"
This program should print "Pay to the order of:" twice, and
they should be 7 inches apart. Line
20
sets the form length to 7
inches. After line 30 prints, line 40 sends a form feed to advance
the paper to the top of the next form. Line
50
then prints its mes-
sage.
After you have run this program, turn off the printer and
adjust the top of form position. When you turn the printer back on
the page length will be reset to its normal setting (usually 11
inches).
-
Top and Bottom Margins
Many programs that use a printer don't keep track of where
they are printing on the page. This causes a problem when you get
to the bottom of a page because these programs just keep on print-
ing, right over the perforation. This makes it very hard to read,
especially if a line happens to fall right on the perforation. And if
you separate the pages then you are really in trouble.
Of course Radix has a solution to this predicament. Radix can
keep track of the position on the page, and advance the paper so
that you won't print too near the perforation. There are two com-
mands to do this. One controls the space at the top of the page and
the other controls the space at the bottom of the page. The control
codes are given in the following table.
-
Table
8-5
Top and bottom margin commands
Function
Control code
Set top margin
(ESC) "R" CHR$(n)
Set bottom margin
(ESC) "N" CHR$(n)
Clear top and bottom margins
(ESC) "0"

Advertisement

Table of Contents
loading

Table of Contents