Positioning a Logical Page on a Sheet
The example in this section shows how the OFFSET subcommand is used to position the logical page on the physical sheet. A logical page is the area on a sheet of paper where all printing occurs. You establish the logical page origin, the point nearest the media origin, with the OFFSET subcommand. The OFFSET subcommand requires two coordinates and may have four. The first x and y coordinate defines the position on the front of the sheet, and the second x and y coordinate defines the position on the back of the sheet. A sample form definition that specifies the logical page position for a simplex sheet is:
FORMDEF ABCD OFFSET 1 IN 1 IN ;
The example places the logical page origin one inch to the right of and one inch down from the media origin.
The next figure shows the meaning of the x and y coordinates. In writing an OFFSET subcommand, the first parameter specifies x; the second parameter specifies y. If the x and y are repeated for the offset of the back side of the physical page, the same applies. The x defines the horizontal offset; the y defines the vertical offset. In this example, the logical page direction is ACROSS. The arrows within the logical page ind