Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

PrintDialog.SetPaperName

Sets paper name.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 5.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No

Deprecated

This function was deprecated. Use PageSetupDialog.SetPaperName instead.

MBS( "PrintDialog.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.

Deprecated in favor of PageSetupDialog.SetPaperName since FileMaker seems to ignore paper changes in the print dialog.

Examples

Set paper to A4:

Set Variable [ $r ; Value: MBS( "PrintDialog.SetPaperName"; "A4" ) ]

See also

Blog Entries

This function checks for a license.

Created 27th December 2014, last changed 27th June 2021


PrintDialog.SetPaperHeight - PrintDialog.SetPaperWidth