SetOverflowPaperTray
Use this form set level rule with the FormName INI option to change the printer tray selection during transaction processing.
This rule lets you print the first page of a form set on a special paper and the rest on different stock. For example, the first page of a utility bill is typically printed on perforated stock while the rest of the bill is printed on non-perforated stock.
Syntax
There are no parameters for this rule.
The FormName option is required:
< OverflowPaperTray >
FormName = Tray#
Option |
Description |
FormName |
Enter the name of the form on the left and the tray you want used for the subsequent pages on the right. To specify the tray, you can only enter trays 1-9. See the example below. |
Here is an example:
< OverflowPaperTray >
Gas Bills = Tray4
Water Bills = Tray4
Elec Bills = Tray4
Keep in mind...
- You must include the PaginateAndPropagate rule in your AFGJOB.JDT file for the SetOverflowPaperTray rule to work correctly.
- When running in single- or two-step mode, place these rules in this order after the WriteOutput and WriteNAFile rules:.
; SetOverflowPaperTray;;
;PaginateAndPropagate;;
When running multi-step mode, although UpdatePOLFile rule does pagination, you must still include the PaginateAndPropagate rule in your AFGJOB.JDT file, as pagination is needed before the SetOverflowPaperTray rule executes and before the NA and POL files are updated. Here is how the rules should be placed:
;UpdatePolfile;;
;SetOverflowPaperTray;;
;PaginateAndPropagate;;
- In duplex printing mode, the first page prints on stock from the original specified paper tray (for instance, containing perforated paper). If an overflow condition occurs and additional pages are printed; because you are duplexing, the first overflow page will print on the backside of the first page (on the perforated paper). The system redirects any additional overflow pages (pages 3, 4, and so on) to the paper tray you specify using the OverflowPaperTray control group.
- In simplex printing mode, the first page prints on stock from the original specified paper tray (for instance, pre-printed color letter head). If an overflow condition occurs, additional pages are printed on stock from the redirected paper tray you specify using the OverflowPaperTray control group.
- This rule will not work when printing in duplex mode and the first page is set as a back page.
Example
Let’s assume your FORM.DAT file specifies duplex printing, tray 2 for all sections, and this INI option:
< OverflowPaperTray >
UtilBill = tray4
This tells the system to use stock from tray 2 to print the first two pages (duplex) and stock from tray 4 for the subsequent pages 3 and 4 (duplex). Here are examples of the FORM.DAT and POLFILE.DAT files:
FORM.DAT file:
;RP10;CIS;UtilBill;Utility;N;;\
billhdrp|FDLONX <Customer(1)>/\
billsum |RDLS <Customer(1)>/\
billftr |RDLS <Customer(1)>/\
billrwtr|RDLS <Customer(1)>/\
billsere|RDLS <Customer(1)>/\
billstbr|RDLS <Customer(1)>/\
billrswr|RDLS <Customer(1)>/\
billcwt3|RDLS <Customer(1)>/\
blchart |RDLS <Customer(1)>;
POLFILE.DAT file:
;RP10;CIS;UtilBill;Utility;R;;\
billhdrp|FDLONX <Customer>/\ page 1 - from Lower/tray 2 (L)
billsum |RDLSN <Customer>/\
billftr |RDLSN <Customer>/\
billhdrp|RDLONX <Customer>/\ page 2 - from Lower/tray 2 (L)
billrwtr|RDLSN <Customer>/\
billsere|RDLS <Customer>/\
billstbr|RDLSN <Customer>/\
billhdrp|RD4ONX <Customer>/\ page 3 - from tray 4 (4)
billrswr|RDLSN <Customer>/\
billcwt3|RDLSN <Customer>/\
billhdrp|RD4ONX <Customer>/\ page 4 - from tray 4 (4)
blchart |RDLS <Customer>;
\ENDDOCSET\ BillHead
Here is a simplex printing example:
Assume your FORM.DAT file specifies simplex printing, lower/tray 2 for all sections, and this INI control group:
< OverflowPaperTray >
InsurBill = tray4
This tells the system to use the stock from tray 2 to print the first page and stock in tray 4 for the subsequent pages 2 and 3. Here are examples of the FORM.DAT and POLFILE.DAT files:
FORM.DAT file:
;RP10;CIS;InsurBill;NW Company;N;;\
insuhdr |DLONX <Customer(1)>/\
insuintr|DLS <Customer(1)>/\
insurate|DLOS <Customer(1)>/\
insusign|DLS <Customer(1)>;
POLFILE.DAT file:
;RP10;CIS;InsurBill;NW Company;R;;\
insuhdr |FDLONX <Customer>/\ page 1 - from Lower/tray 2 (L)
insuintr|DLS <Customer>/\
insurate|DLOS <Customer>/\
insuhdr |FD4ONX <Customer>/\ page 2 - from tray 4 (4)
insurate|DLOS <Customer>/\
insuhdr |FD4ONX <Customer>/\ page 3 - from tray 4 (4)
insusign|DLS <Customer>/\
\ENDDOCSET\ InsurHead
See also
© Copyright 2020, Oracle and/or its affiliates. All rights reserved. Legal notices.