Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

PrintDialog.Install

Installs the extension for the printer dialog.

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

Parameters

none

Result

Returns OK or error.

Description

Installs the extension for the printer dialog.
Only after PrintDialog.Install was called, you can use PrintDialog.Enable.
You only call this function once.

This is Mac only. For Windows, please check Printer.SetPrinter and Printer.Print.

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

FileMaker Magazin

Created 18th August 2014, last changed 20th April 2019


PrintDialog.GetTray - PrintDialog.SetAllPages

Feedback: Report problem or ask question.