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

PrintDialog.SetReverseOrder

Sets reverse order for printing.

Component Version macOS Windows Linux Server iOS SDK
PrintDialog 11.0 ✅ Yes ❌ No ❌ No ❌ No ❌ No
MBS( "PrintDialog.SetReverseOrder"; Value )   More

Parameters

Parameter Description Example
Value The new setting.
Pass 1 to reverse order or 0 to not reverse it.
Pass -1 to not change value.
1

Result

Returns OK or error.

Description

Sets reverse order for printing.
May not work for all printer drivers.

Examples

Set reverse order:

Set Variable [ $r ; Value: MBS("PrintDialog.SetReverseOrder"; 1) ]

Set various options for reverse order:

Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "com_apple_print_PageToPaperMappingType"; 1; "integer") ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "com_apple_print_PrintSettings_PMLayoutColumns"; 1; "integer") ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "com_apple_print_PrintSettings_PMLayoutNUp"; 0; "boolean") ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "com_apple_print_PrintSettings_PMLayoutRows"; 1; "integer") ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "com_apple_print_PrintSettings_PMOrientation"; 1; "integer") ]
Set Variable [ $r ; Value: MBS( "PrintDialog.SetOption"; "OutputOrder"; "reverse"; "text") ]
# this is an alternative way to the function above, which may work for other drivers.

See also

Release notes

Blog Entries

This function is free to use.

Created 7th January 2021, last changed 7th January 2021


PrintDialog.SetResetDestination - PrintDialog.SetTray