WPFD Windows Printing Font Dialog

LANSA Technical

WPFD (Windows Printing Font Dialog)

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

 WPFD=D  (default)

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

 WPFD=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 font used for all subsequent reports without any further prompting.  

 WPFD=E (every time)

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

 WPFD=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, page length, overflow line and the last detail line.

The default value is WPFD=A.

In batch mode X_RUN commands the parameter is always treated as WPFD=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 font dialog to a user.