TOP OF PAGE Clause

This optional clause identifies the page-eject character sequence for a printer.

4GLREF00000010.gif

string is a quoted string that begins with the page-eject character.

If you include the TOP OF PAGE clause, 4GL uses the specified page-eject character to set up new pages.

New Pages of Report Output

In the output from the report, 4GL includes the page-eject character that you specify in the character string to advance to the next page whenever the program causes a new page to be set up. New pages can be initiated by any of the following conditions:

The next line of output from a PRINT statement meets the bottom margin.

The SKIP TO TOP OF PAGE statement is executed.

The SKIP n LINES statement specifies more lines than are available on the current page.

The NEEDS statement specifies more lines than are available on the current page.

If you omit the TOP OF PAGE clause, INFORMIX-4GL fills the remaining lines of the current page with LINEFEED characters when a new page is set up.

References

BOTTOM MARGIN Clause

LEFT MARGIN Clause

PAGE LENGTH Clause

REPORT TO Clause

RIGHT MARGIN Clause

TOP MARGIN Clause