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


PrSetError

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

PROCEDURE PrSetError (iErr: Integer);
iErr
The result to set as the current printing error.
DESCRIPTION
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.

ASSEMBLY-LANGUAGE INFORMATION
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
_PrGlue$C0000200


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996