Selecting Paper from an Alternate Bin

This example selects the first sheet from the alternate bin and all other pages from the primary bin. This function is useful when special paper (such as one having the company logo) is to be used for the first page of a document.

Note: Bin selection is overridden by the printer should the form defined to each bin be the same form number. Only the primary bin is selected.

Example of Selecting Paper from an Alternate Bin

/* The form definition contains two copy groups --   */
/*   ALTBIN - for the first page                     */
/*   PRIBIN - for all other pages                    */
 
FORMDEF BINEX
        DUPLEX NO;
  COPYGROUP ALTBIN BIN 2;
  COPYGROUP PRIBIN BIN 1;
 
PAGEDEF BINEX
        WIDTH 8.3  HEIGHT 10.6;
 
  /* Pageformat for first page - bin 2               */
 
  PAGEFORMAT FIRST;
    PRINTLINE CHANNEL 1
              POSITION MARGIN TOP;
    CONDITION GOTOPRIM  START 1 LENGTH 1
      WHEN GE X'00'  AFTER SUBPAGE
      COPYGROUP PRIBIN PAGEFORMAT REST;
    PRINTLINE REPEAT 59;
 
  /* Pageformat for all other pages - bin 1          */
 
   PAGEFORMAT REST;
     PRINTLINE CHANNEL 1
               POSITION MARGIN TOP
               REPEAT 60;