PMSetCopies(_:_:_:)
Sets the initial value for the number of copies to be printed.
Declaration
func PMSetCopies(_ printSettings: PMPrintSettings, _ copies: UInt32, _ lock: Bool) -> OSStatusParameters
- printSettings:
The print settings object you want to initialize.
- copies:
The initial value of the number of copies to print.
- lock:
The lock state of the setting. Locking is not supported at this time.
Return Value
A result code. See Result Codes.
Discussion
If you call this function after initiating a print job, the change is ignored for the current job.
See Also
Accessing Data in Print Settings Objects
PMGetFirstPage(_:_:)PMSetFirstPage(_:_:_:)PMGetLastPage(_:_:)PMSetLastPage(_:_:_:)PMGetPageRange(_:_:_:)PMSetPageRange(_:_:_:)PMPrintSettingsGetJobName(_:_:)PMPrintSettingsSetJobName(_:_:)PMGetCopies(_:_:)PMGetCollate(_:_:)PMSetCollate(_:_:)PMGetDuplex(_:_:)PMSetDuplex(_:_:)PMPrintSettingsGetValue(_:_:_:)PMPrintSettingsSetValue(_:_:_:_:)PMPrintSettingsCopyAsDictionary(_:_:)PMPrintSettingsCopyKeys(_:_:)