PMSessionDefaultPrintSettings(_:_:)
Assigns default parameter values to a print settings object for the specified printing session.
Declaration
func PMSessionDefaultPrintSettings(_ printSession: PMPrintSession, _ printSettings: PMPrintSettings) -> OSStatusParameters
- printSession:
The printing session for the specified print settings object.
- printSettings:
The print settings object to which you want to assign default values.
Return Value
A result code. See Result Codes.
Discussion
You must call the function PMSessionDefaultPrintSettings between the creation and release of a printing session. See the function PMCreateSession(_:).