Star Micronics NX-10 Printer User Manual


 
ed, for example, to print text in a multi-column magazine for-
mat; 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 > .
1 Function
Table 4-3
Form feed commands
1 Control code
Advance paper to top of next
paw
CHR$(12)
Reverse paper to top of current
(ESC)CHR$(12)
page
W Changing the page length
You may have some computer forms that you wish to use with
this printer that are not 11 inches high. That’s no problem,
because you can tell your printer how high the forms are that
you are using. There are two commands for doing this, shown in
this table.
Table 4-4
Form length control
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.
NEW
10
' Demo of variable form lenffths
20 LPRINT CHR$(27>;"C";CHR$(O>jCHR$(7);
30 LPRINT "PAY TO THE ORDER OF:"
40 LPRINT CHR$(12);
2; ;;;INT "FAY 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
-
-
.-