Topics
All
Mac OS X
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Guides
Examples
New in version:
7.4
7.5
8.0
8.1
8.2
8.3
8.4
8.5
9.0
9.1
Statistic
PrintDialog.Install
Installs the extension for the printer dialog.
Component | Version | macOS | Windows | Server | FileMaker Cloud | FileMaker iOS SDK |
PrintDialog | 3.5 | Yes | No | No | No | No |
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 method 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
- PrintDialog.Disable
- PrintDialog.Enable
- PrintDialog.GetLastSettings
- PrintDialog.SetDestinationPath
- PrintDialog.SetNoDialog
- PrintDialog.SetPrintToPDF
- PrintDialog.SetResetDestination
- Printer.Print
- Printer.SetPrinter
Example Databases
Blog Entries
- MBS FileMaker Plugin, version 7.4pr1
- How to fix the Sierra printing bug in FileMaker
- Printing with FileMaker on Mac with a specific Paper Tray
Created 18th August 2014, last changed 14th November 2016
PrintDialog.GetTray - PrintDialog.SetAllPages
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins