Table 83 Form Feed Commands; Table 84 Form Length Commands - Star Micronics Radix User Manual

Table of Contents

Advertisement

Line Spacing and Forms Control
a3
r
-
*
I
c.
The form feed (CHR$(12)) in line 50 caused the printer to
move to the top of a new page before printing the last two lines.
A note to TRS80 users: CHR!$(lB) is a problem code for the
TRS80. To send a form feed command to Radix you must add 128
to it making it CHR$(140). Use CHR$(140) where we use
CHR$(lB) in these programs.
Reverse form feed
Just as Radix can perform a reverse line feed, it can do a
reverse form feed. This code moves the paper so that the print
head is positioned at the top of the current page. This can be used,
for example, to print text in a multi-column magazine format;
print the first column, then reverse form feed back to the top of the
page to start the second column. The code for reverse form feed is
easy to remember: ( ESC > ( FF > .
Table 83
Form feed commands
Function
ASCII code
Advance paper to top of next page
(FF)
Reverse paper to top of current page
Control code
CHR$(l2)
(ESC) CHR$(12)
Changing the Page Length
You may have some computer forms that you wish to use with
Radix that are not
11
inches high. That's no problem, because you
can tell Radix how high the forms are that you are using. There
are two commands for doing this, shown in this table:
Table 84
Form length commands
Function
Control code
Set the page length to n lines
(ESC) "C" CHR$(n)
Set the page length to n inches
(ESC) "C" CHR!$(O) CHR$(n)
Let's set up a 7 inch high form length, which is typical of
many computer checks. The following program will do it.

Advertisement

Table of Contents
loading

Table of Contents