Show TOC

Controlling the Spool DialogLocate this document in the navigation structure

Use

Within the application program, you want to adapt the spool dialog to your requirements or suppress it entirely.

Prerequisites

The DEVICE parameter of the control structure must be set to 'PRINTER' (default).

Features

The following parameters of the generated function module are of importance for controlling the spool dialog:

Parameters with Fields for Controlling the Spool Dialog

Parameter

Application

CONTROL_PARAMETERS

You use the fields of this structure to suppress the dialog entirely or to branch to the print preview only

OUTPUT_OPTIONS

You use the parameters of this structure to:

  • Preset values of input fields

  • Set comboboxes to read-only

  • Deactivate functions in the spool dialog (for example, printing from the print preview)

USER_SETTINGS

Determines whether to copy the settings made by the user. This affects certain input fields in the spool dialog.

JOB_OUTPUT_OPTIONS

In the dialog, the user may change preset values in input-enabled fields. You can use this structure to query the values of such fields after the dialog in order to check whether they have been changed.

For more information, see Parameters of the Generated Function Module.