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


PrOpen

Use the PrOpen procedure to prepare the current printer driver for use.

PROCEDURE PrOpen;
DESCRIPTION
The PrOpen procedure opens the Printing Manager and the current printer driver.

SPECIAL CONSIDERATIONS
You must always use the PrOpen procedure before using any other Printing Manager routines, and you must balance every call to PrOpen with a call to PrClose, which is described in the next section.

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

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


Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996