WPPD (Windows Printing Print Dialog)

Controls how and when users of the application are prompted to select printer details via the standard Windows printer dialog. The allowable values for this parameter are:

     WPPD=D  (default)

The user is not to be prompted and the default printer is to be used.

     WPPD=F  (first time)

The user is to be prompted the first time (within the X_RUN process) that a report is to be printed and thereafter the chosen printer used for all subsequent reports without any further prompting.

     WPPD=E (every time)

The user is to be prompted every time (within the X_RUN process) that a report is to be printed.

     WPPD=A (automatic)

The user is to be prompted the first time (within the X_RUN process) that a report is to be printed and thereafter only when a report is to be printed that has different characteristics to the last report that was printed. The report characteristics that are checked for differences are the report width, the page length, the overflow line and the last detail line.

The default value is WPPD=A. 

In batch mode X_RUN commands, the parameter is always treated as WPPD=D (default) regardless of the actual value specified. This is because batch mode commands do not have access to a UI (User Interface) and thus cannot present the printer dialog to a user.