PMSessionSetCurrentPMPrinter(_:_:)
Changes the current printer for a printing session.
Declaration
func PMSessionSetCurrentPMPrinter(_ session: PMPrintSession, _ printer: PMPrinter) -> OSStatusParameters
- session:
The printing session whose printer you want to change.
- printer:
The new printer for the printing session.
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(_:).