50 Delta User’s Manual
Let’s set up a 7 inch high form length, which is typical of
many computer checks. The following program will do it.
-
NEW
l@ LPRINT CHR$(27) "C" CHR$(@) CHR$(7);
2@ LPRINT "PAY TO THE ORDER OF:"
3@ LPRINT CHR$(12);
49 LPRINT "PAY TO THE ORDER OF:"
-
-
This program should print “PAY TO THE ORDER OF:”
twice, and they should be 7 inches apart. Line 10 sets the form
length to 7 inches. After line 20 prints, line 30 sends a form feed to
advance the paper to the top of the next form. Line 40 then prints
its message.
-
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 Delta has a solution to this predicament. Delta 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 4-3
Top and bottom margin commands
1 Function I Control code
Set top margin
Set bottom margin
Clear top and bottom margins
(ESC) “R” CHR$(n)
(ESC) “N” CHR$(n)
(ESC) “0”
-