How to insert a page on the last side of a mailpiece in PIOE

print
  1. Create a Boundary object.
  2. Create a condition test to determine the start and end of the document.
  3. Add a Region object to insert the page (duplex or simple).
  4. Add a condition  (ENDOFPARENT) to determine the last side of the document.
Example:

[OBJECT_BOUNDARY] OBJECT BOUNDARY SCAN0
 BEGINWINDOWX 0 BEGINWINDOWY 0
 ENDWINDOWX 0 ENDWINDOWY 0
    TEST
      [TEST_BOUNDARY] //Test to determine the start and end of a document
 ACTION
 [OBJECT_INSERT_PAGE_BEFORE] AND    [OBJECT_INSERT_PAGE_AFTER]
;
 
//Page will be inserted AFTER the last side of the mailpiece (insert action - END)
[OBJECT_INSERT_PAGE_AFTER] OBJECT REGION SCAN0
 BEGINWINDOWX 0 BEGINWINDOWY 0
 ENDWINDOWX 0 ENDWINDOWY 0
 TEST
       ENDOFPARENT
 ACTION
       [INSERT_PAGE]
   ;
 
//Page will be inserted BEFORE the last side of the mailpiece (insert action- BEGIN)
[OBJECT_INSERT_PAGE_BEFORE] OBJECT REGION SCAN0
 BEGINWINDOWX 0 BEGINWINDOWY 0
       TEST
         ENDOFPARENT
 ACTION 
        [INSERT_PAGE]
    ENDWINDOWX 0 ENDWINDOWY 0
    ;

[INSERT_PAGE] INSERT SIMPLEX/DUPLEX ROTATION0;
 
 

UPDATED: August 07, 2017

Contact Us