Indicates that the user canceled a printing operation.
#define kPMCancel (0x0080)
This constant is provided for compatibility with Classic applications and printer drivers that expect the
iPrAbort
error code to be returned when the user cancels a printing operation.
The Carbon Printing Manager's default idle function checks for Command-period keyboard events during printing, and sets the error condition equal to
kPMCancel
if one occurs. Your application can check for this condition using the
PMSessionError
function, and should cancel the print job if
kPMCancel
is returned.
If you supply your own idle function, it must check for Command-period keyboard events, and set the error condition using
PMSessionSetError( kPMCancel )
.