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 / Printing a Document


Use the PrClosePage procedure to finish the printing of the current page.

PROCEDURE PrClosePage (pPrPort: TPPrPort);
A pointer to a printing graphics port. (The TPrPort record that defines a printing graphics port is described on page 9-48.)
The PrClosePage procedure records that you are finished printing the current page. The printer driver can then do whatever it requires (such as releasing temporary memory) to avoid communication difficulties or other problems that may cause the user's computer to crash.

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

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

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996