Carbon


PMSessionSetError

Header: PMCore.h Carbon status: Supported

Sets the value of the current Carbon Printing Manager result code for the specified printing session.

OSStatus PMSessionSetError (
    PMPrintSession printSession, 
    OSStatus printError
);
Parameter descriptions
printSession

A PMPrintSession object.

printError

The result code you wish to set. This result code will be returned by the PMSessionError function.

function result

A result code. A result code. See “Result Codes”.

DISCUSSION

You can use this function to terminate a printing session if your application encounters any errors inside the print loop.

SPECIAL CONSIDERATIONS

Valid after calling PMCreateSession.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)