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: 12.1   12.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4    Statistic    FMM    Blog  

PageSetupDialog.SetPrinterName

Sets printer name.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 9.2 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PageSetupDialog.SetPrinterName"; Name )   More

Parameters

Parameter Description Example
Name The printer name to use.

Result

Returns OK or error.

Description

Sets printer name.
The plugin will try to find a printer with the given name and assigns it for the printing.
You need to run paper setup dialog to let the plugin change values.

The printer set for paper setup may not be the one used for printing.
The dialog will not show the one you select here, if you show dialog.

See also

Example Databases

This function checks for a license.

Created 20th April 2019, last changed 14th July 2022


PageSetupDialog.SetPaperWidth - PageSetupDialog.SetScalingFactor

💬 Ask a question or report a problem