Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   7.6    Statistic  

PrintDialog.SetCopies

Sets number of copies.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
PrintDialog 6.2 Yes No No No No

MBS( "PrintDialog.SetCopies"; Value )

Parameters

Parameter Description Example value
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


PrintDialog.SetAllPages   -   PrintDialog.SetDestinationPath

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos