Contents

PMSetCopies(_:_:_:)

Sets the initial value for the number of copies to be printed.

Declaration

func PMSetCopies(_ printSettings: PMPrintSettings, _ copies: UInt32, _ lock: Bool) -> OSStatus

Parameters

  • 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