Important: The information in this document is obsolete and should not be used for new development.
Printing a DocumentIn addition to using the
PrCloseprocedures (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
PrCloseDocprocedure open and close the printing graphics port for the document, and the
PrClosePageprocedures open and close the current page.
You must use the
PrPicFileprocedure to complete printing for a driver using deferred printing.