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.

		SETUNITS  1 IN 1 IN
          		LINESP 8 LPI;
		FORMDEF   ABCD
          		OFFSET 0 .5;
		PAGEDEF   ABCD
          		WIDTH 7.5
          		HEIGHT 10
          		DIRECTION ACROSS;
  		FONT GS12 GS12;
  		LAYOUT 'abc'
          		FONT GS12
          		POSITION  0 TOP;	

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 LAYOUT command is included because at least one is required for all page definitions; see LAYOUT Command (Record Format) for more information.

Logical Page Dimensions

Logical Page Dimensions

The OFFSET subcommand (0) (.5) in the sample form definition establishes the corner or origin of the logical page relative to the physical sheet. The WIDTH and HEIGHT subcommands, (7.5) and (10), 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.