Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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
- PageSetupDialog.GetPaperName
- PageSetupDialog.GetPrinterName
- PageSetupDialog.SetPaperName
- PrintDialog.SetPrinterName
Example Databases
Blog Entries
This function checks for a license.
Created 20th April 2019, last changed 14th July 2022
PageSetupDialog.SetPaperWidth - PageSetupDialog.SetScalingFactor
