HP 3000 Manuals

PAGE LENGTH [ HP Business BASIC/XL Reference Manual ] MPE/iX 5.0 Documentation


HP Business BASIC/XL Reference Manual

PAGE LENGTH 

The PAGE LENGTH statement is used to set the size of a report page.  You
can specify the page length and the top and bottom margin size with this
statement.  There can be only one PAGE LENGTH statement in a report
description.

Syntax 

PAGE LENGTH length [, blank_top [, blank_bottom]]

Parameters 

length           Expression is a numeric expression in the range [0,
                 32767].  A value of zero indicates an infinite page
                 length.  This prevents error 260, "Insufficient space
                 for printer output within the current page".  The
                 default value is 60.

blank_top        A numeric expression indicating how many blank lines
                 should be in the top margin.  These lines are printed
                 before the page header, and are not suppressed by the
                 SUPPRESS HEADER ON statement.  The value must be between
                 zero and the length of the page.  The default value is
                 zero.

blank_bottom     A numeric expression indicating how many blank lines are
                 in the bottom margin.  These lines are printed after the
                 page trailer and are not subject to page trailer
                 suppression.  The value must be between zero and the
                 length of the page.  The default value is zero.


NOTE After the report definition is scanned by BEGIN REPORT, a final check is made on the page size. The following condition must hold or an error occurs: Page_length - Blank_top - Blank_bottom - Page_header_size - Page_Trailer_size >=3
Examples The following examples show the use of the PAGE LENGTH statement. 100 PAGE LENGTH 60,0,0 100 PAGE LENGTH 66,2,2 ! HP 250/260 default The PAGE LENGTH statement is evaluated only during BEGIN REPORT. The page size cannot change during the report. The statement is busy only while being evaluated.


MPE/iX 5.0 Documentation