ILE RPG Language Reference
The FORMSALIGN keyword indicates that the first line of an output
file conditioned with the 1P indicator can be printed repeatedly,
allowing you to align the printer. If not specified or specified with
*NO, no alignment will be performed. If specified, optionally with
*YES, first page forms alignment will occur.
Rules for Forms Alignment
- The records specified on Output Specifications for a file with
a device entry for a printer type device conditioned by the first
page indicator (1P) may be written as many times as desired. The line
will print once. The operator will then have the option to print the
line again or continue with the rest of the program.
- All spacing and skipping specified will be performed each time
the line is printed.
- When the option to continue with the rest of the program is selected,
the line will not be reprinted.
- The function may be performed for all printer files.
- If a page field is specified, it will be incremented only the
first time the line is printed.
- When the continue option is selected, the line count will be the
same as if the function were performed only once when line counter
is specified.
[ Top of Page | Previous Page | Next Page | Contents |
Index ]