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 / Opening and Closing the Printing Manager


PrClose

When you are finished using Printing Manager routines, use the PrClose procedure to close the Printing Manager and release the memory it occupies.

PROCEDURE PrClose;
DESCRIPTION
The PrClose procedure is the call that balances a call to the PrOpen procedure.

SPECIAL CONSIDERATIONS
If you have opened the printer driver with the PrOpen procedure, do not call the PrDrvrClose procedure (described on page 9-77) to close it. Similarly, do not close the printer driver with PrClose if you opened it with the PrDrvrOpen procedure (described on page 9-76).

ASSEMBLY-LANGUAGE INFORMATION
The trap macro and routine selector for the PrClose procedure are
Trap macroSelector
_PrGlue$D0000000

SEE ALSO
For an example of the use of PrClose, see Listing 9-2 beginning on page 9-18.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996