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.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
PrintDialog.SetPrintToPDF
Sets whether plugin will redirect print to PDF.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| PrintDialog | 3.5 | Yes | No | No | No | No |
Parameters
| Parameter | Description | Example |
|---|---|---|
| flag | The new setting. Can be 0 to disable PDF creation or 1 to enable it. | 1 |
Result
Returns OK or error.
Description
Sets whether plugin will redirect print to PDF.Please also use PrintDialog.SetDestinationPath to print to PDF.
Examples
Set print to PDF:
Set Variable [ $r ; Value: MBS( "PrintDialog.SetPrintToPDF"; 1 ) ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetDestinationPath"; "/Users/cs/Desktop/test.pdf" ) ]
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.Enable
- PrintDialog.GetPrinterName
- PrintDialog.GetPrintToPDF
- PrintDialog.Install
- PrintDialog.SetDestinationPath
- PrintDialog.SetNoDialog
- PrintDialog.SetPrinterName
- PrintDialog.SetPrintType
Example Databases
Created 18th August 2014, last changed 13th May 2020
PrintDialog.SetPaperName - PrintDialog.SetPrintType
Feedback: Report problem or ask question.
Links
MBS Xojo Chart Plugins