10. Using Report-Writer : Types of Report Specification Statements : Page Layout and Control Statements
 
Share this page                  
Page Layout and Control Statements
You can specify the layout of report pages with the following statements:
The .pagelength statement defines the page length, in lines.
The .pagewidth statement defines the page width, in characters.
The .formfeeds statement instructs Report-Writer to insert formfeed characters to force a page break at the start of the report and at the end of each page.
The .noformfeeds statement suppresses the addition of formfeed characters to the end of pages in the report.
The .leftmargin statement sets up a left margin as the default start of all new lines and for use with the .left and the .center statements.
If the left margin is not explicitly specified, Report-Writer determines this default automatically from an analysis of the other report formatting statements. For more information, see Automatic Determination of Default Settings (see page Automatic Determination of Default Settings).
The .rightmargin statement sets the right margin of the report for use with the .right and the .center statements.
If the right margin is not explicitly specified, Report-Writer determines this default automatically from an analysis of the other report formatting statements. For more information, see Automatic Determination of Default Settings (see page Automatic Determination of Default Settings).
The .need statement tests for a given number of lines on a page to see if a page break is appropriate.
The .newpage statement skips to a new page, and optionally sets a page number.