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

In addition to using the PrOpen and PrClose procedures (described on page 9-54 and page 9-55, respectively) to open and close the current printer driver, you must open a printing graphics port for a document and open each page of the document before printing the page. You must close each page after printing it, and you must close the printing graphics port after printing the last page of the document. The PrOpenDoc function and PrCloseDoc procedure open and close the printing graphics port for the document, and the PrOpenPage and PrClosePage procedures open and close the current page.

You must use the PrPicFile procedure to complete printing for a driver using deferred printing.


Subtopics
PrOpenDoc
PrCloseDoc
PrOpenPage
PrClosePage
PrPicFile

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996