Previous Topic: PROGPRINTCOPIES Statement—Specify the Number of Copies to Print for a Request Set ProgramNext Topic: PROGPRINTSTYLE Statement—Specify Print Style for Request Set Program


PROGPRINTER Statement—Specify a Printer for a Request Set Program

The PROGPRINTER statement specifies the name of a printer to be used by an Oracle Applications request set program.

Supported Job Type

This statement is optional for the Oracle E-Business Suite Request Set job type.

Syntax

This statement has the following format:

PROGPRINTER printer_name
printer_name

Specifies the name of a printer that Oracle Applications can print to. This printer must be defined in Oracle Applications. In Oracle Applications, the printer name is specified as a request definition option and is found in the Printer column of the Upon Completion dialog.

Limits: Up to 30 characters; case-sensitive

Notes:

Example: Specify a Printer for a Program in a Request Set

In this example, the PRINTER statement sets the default printer for this request set to Q_8. The first program has a PROGPRINTER statement, so its output is sent to the Q_DEVELOPMENT printer. The second program does not have a PROGPRINTER statement, so its output is sent to the Q_8 printer.

AGENT CYBOA
REQUESTSET 'EXTRACTS'
APPLDISPLNAME 'Application Object Library'
RESPNAME 'System Administrator'
OAUSER SYSADMIN
PRINTER Q_8
PROGDATA 1
   PROGARGS ,12345,2,,3223,2,,1
   PROGPRINTER Q_DEVELOPMENT
   PROGPRINTSTYLE PORTRAIT
   PROGPRINTCOPIES 5
   PROGSAVEOUTPUT YES
PROGDATA 2
   PROGARGS 12345,,,,1,1755,,-1,,
   PROGPRINTSTYLE PORTRAIT
   PROGPRINTCOPIES 8
   PROGSAVEOUTPUT YES