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

PrintDialog.SetCopies

Sets number of copies.

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

Parameters

Parameter Description Example
Value The new copies value.
Use -1 for undefined.
2

Result

Returns OK or error.

Description

Sets number of copies.
This property is the number of copies of the print job to be printed.
Value is -1 if not defined.

Examples

Print with 5 copies:

Set Variable [$r; Value:MBS("PrintDialog.Enable")]
Set Variable [$r; Value:MBS("PrintDialog.SetCopies"; 5)]
Print []
Set Variable [$r; Value:MBS("PrintDialog.Disable")]

See also

Release notes

Blog Entries

This function checks for a license.

Created 17th March 2016, last changed 17th March 2016


PrintDialog.SetConfiguration - PrintDialog.SetDestinationPath