Use the Work with Writer (WRKWTR) command to check the status of a printer writer. For example, enter the following to check the status of PRT01:
WKRWRT *DEV PRT01
To find a printer writer's job log, whether it is currently active or it has ended, use the Work with Job (WRKJOB) command. For example, enter the following to display the jobs for PRT01:
WRKJOB PRT01
If there is more than one job on the system that corresponds to the printer writer, select the job that you want and press Enter. Once you have selected a job use Option 10 to display the job log of a currently running job or Option 4 to work with the spooled files of a job that has ended.