Specifying duplex printing
If your AFP printer is capable of printing in duplex mode (printing on both sides of the paper), use the DUPLEX parameter in the OUTPUT statement (see DUPLEX) or the form definition (see Specifying a form definition) to control duplexing for your print job.
Printing in duplex saves paper and the space required for storing blank forms and printed documents. You can compound the benefits of multiple-up or N_UP printing by printing more than one page of application data on one side of a sheet of paper. For more information, see Specifying multiple-up printing.
- In this example, DUPLEX is defined in the OUTPUT statement:
//OUT1 OUTPUT DUPLEX=NORMAL //DDN DD SYSOUT=P,OUTPUT=(*.OUT1) - The job in this example uses PSF-supplied form definition F1A10112
to print tumble duplex on paper selected from the primary paper source:
Form definition F1A10112 is described in Form definitions supplied with PSF.//DUPLEX JOB … //STEP1 EXEC PGM=USERA //OUT1 OUTPUT FORMDEF=A10112 //DD1 DD SYSOUT=A,OUTPUT=(*.OUT1) /*
If your output requires different page margins on the front and back of the form for binding, you can create a form definition that specifies different page offsets for the front and back of the page (see Duplex-page offsets). For more information about duplex printing, see Duplex printing.