Print a file on a specified printer

This example shows how to submit the data set FILE1.LISTPS to the printer fred:
//JOB2     JOB  D31,'H. EVANS'
//PRINTPS  EXEC AOPPRINT,PRINTER='fred'
//SYSIN    DD   DSNAME=FILE1.LISTPS,DISP=SHR