Please enable JavaScript to view this site.

The Printer Resource file is used to control the Printer Resources required when printing using AFP and the CPPD PRTPPD command. The Printer Resources which can be controlled are: - Form Overlays, Printer Drawer selection and Duplex Printing (printing on the reverse side of the page). Note:- the appropriate feature must be installed on the printer.

Form Overlays can be included in the text of the document (e.g. #GTEST), but defining the Overlay as a Printer Resource is much more efficient as the Overlay is only downloaded to the printer at the start of printing, and not with each page.

The Overlays downloaded for one job can be retained in the printer and used in a subsequent job. Note: - the amount of memory available in the printer will determine the number of overlays which can be downloaded.

To retain printer resources between jobs, create a PSFCFG object with the same name as the printer device, use the WRKPSFCFG command to create the PSFCFG object with the RSCRET parameter set to *YES.

Note:- the resources are lost when the printer session ends.

The Printer Resources file contains as many members as required, any one of which can be included in the PRTPPD command. Each member can contain up to 10 separate resource definitions, although normally only one will be used (#R0). The #R0 - #R9 text instructions are used to specify the Printer Resources to be used within the spooled file text. If you change to a new Printer Resource the current page will be ejected.