Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets whether plugin will redirect print to PDF.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
PrintDialog | 3.5 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example |
---|---|---|
flag | The new setting. Can be 0 to disable PDF creation or 1 to enable it. | 1 |
Returns OK or error.
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 []
This function checks for a license.
Created 18th August 2014, last changed 13th May 2020