Previous Topic: Send the Output of a PeopleSoft Job to a FileNext Topic: Remote Execution Jobs


Send the Output of a PeopleSoft Job to a Printer

You can define a PeopleSoft job to run a process and send the output to a printer.

To send the output of a PeopleSoft job to a printer

  1. Add the OUTDESTTYPE statement to the job definition. Specify PRINTER.
  2. (Optional) Add the OUTDESTPATH statement to override the default PeopleSoft printer. Specify the network location of the printer including the printer server and shared printer name.

    Note: The specified printer must be set up on the PeopleSoft system.

Example: Send a Job's Output to a Specified Printer

This example runs an SQR Report. The report is formatted as PS and outputted to a printer.

AGENT PS_NY
PROCESSNAME XRFWIN
PROCESSTYPE 'SQR Report'
OUTDESTTYPE PRINTER
OUTDESTFORMAT PS
OUTDESTPATH '\\CA\PRINTER1'
RUNCONTROLID test
PSOPRID VP1

Example: Send a Job's Output to the Default PeopleSoft Printer

The example sends the job's output to the default PeopleSoft printer because the job definition does not include the OUTDESTPATH statement:

AGENT PSAGENT
PROCESSNAME PAYROLL
PROCESSTYPE 'SQR Report'
SERVERNAME PSPR
OUTDESTTYPE PRINTER
OUTDESTFORMAT PS
RUNCONTROLID printtest
PSOPRID VP1