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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

PageSetupDialog.SetPaperName

Sets paper name.

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

Parameters

Parameter Description Example
name The paper name. "A4"

Result

Returns OK or error.

Description

Sets paper name.
Pass empty text in order to reset the value and to not change the paper in the dialog.
You need to run paper setup dialog to let the plugin change values.

We found paper sizes for our printer in PPD files in /private/etc/cups/ppd folder. e.g. "Env10" for Envelope #10.

Examples

Set paper to be A5:

Set Variable [ $r ; Value: MBS("PageSetupDialog.SetPaperName"; "A5") ]

See also

Example Databases

Blog Entries

Created 20th April 2019, last changed 27th June 2021


PageSetupDialog.SetPaperHeight - PageSetupDialog.SetPaperOrientation

Feedback: Report problem or ask question.