Previous Topic: PROGPRINTER Statement—Specify a Printer for a Request Set ProgramNext Topic: PROGQUOTEDEFAULT Statement—Specify Whether to Quote Resolved Expressions in Default Values


PROGPRINTSTYLE Statement—Specify Print Style for Request Set Program

The PROGPRINTSTYLE statement specifies a print style 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:

PROGPRINTSTYLE print_style
print_style

Specifies a print style. The value must match the name of an Oracle Applications print style. In Oracle Applications, the print style is specified as a request definition option and is found in the Style field of the Upon Completion dialog.

Limits: Up to 30 characters; case-sensitive

Example: PORTRAIT

Notes:

Example: Specify a Print Style for a Program in a Request Set

In this example, the PRINTSTYLE statement sets the default printer for this request set to LANDSCAPE. The first program has a PROGPRINTSTYLE statement, so it uses the PORTRAIT print style. The second program does not have a PROGPRINTSTYLE statement, so it uses the default LANDSCAPE style.

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