![]() |
PMSetError |
||||
Header: | PMCore.h | Carbon status: | Not Recommended | |
Sets the value of the current Carbon Printing Manager result code.
OSStatus PMSetError ( OSStatus printError );
The result code you wish to set. This result code will be returned by the PMError function.
A result code. A result code. See
You can use this function to terminate a printing session if your application encounters any errors inside the print loop.
PMSessionSetError is recommended instead of PMSetError.
Valid after calling PMBegin.
Not recommended in Carbon. Available in Carbon 1.0.2 and later.
The PMSetError function replaces the Printing Manager function PrSetError. You are encouraged to reduce your use of this function.
© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)