Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PrintDialog.Enable

Enables the print dialog extension.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 3.5 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PrintDialog.Enable" )

Parameters

none

Result

Returns OK or error.

Description

Enables the print dialog extension.
Your print commands in FileMaker should show a dialog, so the plugin can intercept it.
If you disable dialog for the FileMake Script step, the plugin has no way to intercept the printing.

Calls PrintDialog.Install internally if needed.

Examples

Install and print to PDF:

Set Variable [$r; MBS( "PrintDialog.Install")]
Set Variable [$r; MBS( "PrintDialog.Enable")]
Set Variable [$r; MBS( "PrintDialog.SetPrintToPDF"; 1)]
Set Variable [$r; MBS( "PrintDialog.SetDestinationPath"; "/Users/cs/Desktop/test.pdf")]
Set Variable [$r; MBS( "PrintDialog.SetNoDialog"; 1 )]
Print []

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th August 2014, last changed 8th March 2024


PrintDialog.Disable - PrintDialog.GetAllPages