-
nReverse form feed
Just | your | printer | perform | a | line feed, | can do | ||||
reverse form |
| This code |
| the | paper | that the | ||||
head | is |
|
| at the | of | the | page. | This | be | |
used, |
| example, | to | text | in | magazine | ||||
mat; |
| first | column, |
| reverse | form | back to | |||
top of | page | to | the | second |
| The code | reverse | |||
form |
| is easy | remember: |
| (ESC) |
|
|
| ||
|
|
|
|
| Table |
|
|
|
| |
|
|
|
| Form | feed | commands |
|
| ||
Function |
|
|
|
| Control | code |
|
|
Advance paper to top of next page CHR$(12) q,
nChanging the page length
You may have some computer forms 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 |
| |
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.
10 ’ Demo of variable form lengths
20 LPRINT CHR$(27);"C";CHR$(O);CHR$(7);
30 LPRINT "PAY TO THE ORDER OF:"
40 LPRINT CHR$(12);
50 LPRINT "PAY TO THE ORDER OF:"