PAGEFORMAT Command

PAGEFORMAT name 
[WIDTH n [unit]]
[HEIGHT n [unit]] 
[LINEONE x-pos y-pos] 
[DIRECTION {ACROSS |DOWN | BACK | UP}] 
[PELSPERINCH n] 
[TOPMARGIN n [IN | MM | CM | POINTS | PELS]]
[BOTMARGIN n [IN | MM | CM | POINTS | PELS]] 
[LEFTMARGIN n [IN | MM | CM | POINTS | PELS]]
[RIGHTMARGIN n [IN | MM | CM | POINTS | PELS]
[PAGECOUNT [CONTINUE [n | 1] | STOP | RESUME [n] | RESET [n | 1]] 
   [CMP] [CCP]]
[SOSIFONTS sbcs-font , dbcs-font] 
[RECIDLEN n];
    Note:
  1. The LINEONE subcommand is valid only for traditional page definitions.
  2. The TOPMARGIN, BOTMARGIN, LEFTMARGIN, RIGHTMARGIN, and PAGECOUNT subcommands are valid only for record format and XML page definitions.
  3. The RECIDLEN subcommand is valid only for record format page definitions.

Page formats are subsets of page definitions. If you want to use more than one set of specifications to format a page within a single print job, you must use more than one page format. To change page formats, use conditional processing or insert an Invoke Data Map structured field in your print file. (Page formats are known to the print server as data maps.) If you do not use conditional processing or if you do not insert an Invoke Data Map structured field, the print server uses only the first page format in the page definition. Page formats are placed in the page definition in the order in which they are generated.

Except for PAGECOUNT, PAGEFORMAT subcommands have no fixed defaults. The PAGEFORMAT command and its subcommands can assume defaults. If any PAGEFORMAT subcommand is omitted, its value is selected from the corresponding subcommand in the governing PAGEDEF command.

The PAGEFORMAT command can be omitted if only one page format is used in a page definition. If omitted, PPFA assigns a page format name by using the page-definition name, including the ‘P1’ prefix.

PAGEFORMATname
Specifies an alphanumeric name of 1 to 8 characters. This name must be unique within the page definition.

The following subcommands are used for each page format. They may be issued in the same way as in a page definition. Values specified in the PAGEDEF subcommands are used if any of the following subcommands are not defined within a page format.