Changing Logical Page Print Direction

Logical pages can have four different print directions: ACROSS, DOWN, BACK, and UP. This example shows that all four directions can be specified in relation to one offset specification:

		FORMDEF ABCD
        		OFFSET (1) (2) ;
		PAGEDEF DEFG  ;
		FONT GS12 GS12;
  		PAGEFORMAT DEFG1
             		WIDTH (3)
             		HEIGHT (4)
             		DIRECTION ACROSS ;
    		LAYOUT 'abc'  ;
  		PAGEFORMAT DEFG2
             		WIDTH (3)
             		HEIGHT (4)
             		DIRECTION DOWN ;
    		LAYOUT 'def'  ;
  		PAGEFORMAT DEFG3
             		WIDTH (3)
             		HEIGHT (4)
             		DIRECTION BACK ;
    		LAYOUT 'ghi'  ;
  		PAGEFORMAT DEFG4
             		WIDTH (3)
             		HEIGHT (4)
             		DIRECTION UP ;
    		LAYOUT 'jki'  ;
Note: The parenthetical numbers represent dimensions. Figure Logical Page Dimensions shows how these dimensions relate to the logical page.

One page definition is used to simplify the example, yet four logical pages are specified. The PAGEFORMAT commands create subsets of page definitions for each logical page.

Note: The page formats in this example require an Invoke Data Map structured field at the place in the data file where you want to change page formats. The LAYOUT commands are required but are not relevant in the example.