Defining Logical Page Size

Positioning a Logical Page on a Sheet shows how to establish the origin point of a logical page, relative to the media origin on a sheet of paper, using the OFFSET subcommand. The following example shows you how to establish the width and height of the logical page relative to this origin point. This example illustrates how the dimensions of a logical page are determined by form definitions and page definitions.

FORMDEF ABCD
        OFFSET (1)(2) ;
PAGEDEF ABCD
        WIDTH  (3)
        HEIGHT (4)  ;
        PRINTLINE  ;

Note: The parenthetical numbers represent dimensions. Figure Logical Page Dimensions shows how these dimensions relate to the logical page.

Normally, all parameters consist of a number and a unit of measurement, for example, 6 IN. (See Units of Measurement for information on units that are available.) Numbers can be specified with up to three decimal places. The PRINTLINE command is included because at least one is required for all page definitions; see PRINTLINE Command (Traditional) for more information.

Logical Page Dimensions

Logical Page Dimensions

The OFFSET subcommand (1) (2) in the sample form definition establishes the corner or origin of the logical page relative to the physical sheet. The WIDTH and HEIGHT subcommands, (3) and (4), specify the dimensions of the logical page relative to the logical page origin.

Note: Be careful not to define a logical page larger than the physical sheet. PPFA does not check the size of the physical sheet.

Positioning the First Line of Data shows you two ways to position the first line of data on the page.