KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Why do I get two Print Settings dialogs with PRINT FORM?
PRODUCT: 4D | VERSION: 11.4 | PLATFORM: Mac & Win
Published On: August 27, 2009
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

By default when you print with PRINT FORM you will be prompted with two dialogs before the job is printed.

The first dialog is for Print Settings.

The second dialog is for Print Job Settings.

This can be mitigated by using the PRINT SETTINGS command prior to issuing PRINT FORM. The developer needs to specify which dialog(s) to display via the parameter passed to PRINT SETTINGS.

The acceptable parameters for PRINT SETTINGS are:

0 = Show both dialogs (this is the default)
1 = Show only the Print Settings Dialog
2 = Show only the Print Job Settings Dialog

Please see the PRINT FORM command reference for an example of how to use both of these commands together. PRINT SETTINGS can also be used with the OPEN PRINTING JOB command to control the dialog(s).