PMCreatePrintSettings(_:)
Creates a new print settings object.
Declaration
func PMCreatePrintSettings(_ printSettings: UnsafeMutablePointer<PMPrintSettings?>) -> OSStatusParameters
- printSettings:
A pointer to your Pmprintsettings variable. On return, the variable refers to a new print settings object. You are responsible for releasing the print settings object with the function 1461402 Pmrelease.
Return Value
A result code. See Result Codes.
Discussion
This function allocates memory for a new print settings object in your application’s memory space and sets its reference count to 1. The new print settings object is empty and unusable until you call PMSessionDefaultPrintSettings(_:_:) or PMCopyPrintSettings(_:_:).