Legacy Documentclose button

Important: The information in this document is obsolete and should not be used for new development.

Previous Book Contents Book Index Next

Inside Macintosh: Imaging With QuickDraw /
Chapter 9 - Printing Manager / Printing Manager Reference
Printing Manager Routines / Handling Printing Errors


You can use the PrSetError procedure to set the value of the current printing error.

PROCEDURE PrSetError (iErr: Integer);
The result to set as the current printing error.
The PrSetError procedure stores the specified value into the global variable PrintErr, where the Printing Manager keeps its result code. You can use PrSetError to cancel a printing operation.

You should not directly access the location of the global variable PrintErr; instead you should use the PrError function or PrSetError procedure to get the value of this variable.

The trap macro and routine selector for the PrSetError procedure are
Trap macroSelector

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996