![]() |
PMSessionError |
||||
Header: | PMCore.h | Carbon status: | Supported | |
Obtains the result code from the last Carbon Printing Manager function called in the specified printing session.
OSStatus PMSessionError ( PMPrintSession printSession );
A PMPrintSession object.
A result code. A result code. See
You can use this function to determine whether the user has canceled the current print job. The result code kPMCancel is returned if the user clicks the Cancel button in the printer drivers status dialog box. If this or any other error is encountered during the print loop, your application should call the appropriate end routines (for example, PMSessionEndPage and PMSessionEndDocument) to exit the print loop before reporting the error.
Valid after calling PMCreateSession.
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)