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

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

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


PrintDialog.SetConfiguration - PrintDialog.SetDestinationPath

Feedback: Report problem or ask question.