PMSessionValidatePrintSettings(_:_:_:)
Validates a print settings object within the context of the specified printing session.
Declaration
func PMSessionValidatePrintSettings(_ printSession: PMPrintSession, _ printSettings: PMPrintSettings, _ changed: UnsafeMutablePointer<DarwinBoolean>?) -> OSStatusParameters
- printSession:
The printing session for the specified print settings object.
- printSettings:
The print settings object to validate.
- result:
A pointer to your Boolean variable. On return,
trueif any parameters changed, orfalseif no parameters changed.
Return Value
A result code. See Result Codes.
Discussion
You must call this function between the creation and release of a printing session. See the function PMCreateSession(_:).