PrOpen
PrOpen
Initialize the Printing Manager PrOpen opens the printer driver and the printing resource file and otherwise initializes the Printing Manager.
Notes: Call PrOpen before issuing any other Printing Manager calls and call PrClose when you are all finished printing. At one time, Apple recommended that PrOpen be called at the beginning of the application, and PrClose be called at the end, before returning to the Finder. As more printer drivers become available, it is important for applications to
consider the presence of other applications and how opening and closing the
printer driver affected them. Apple currently recommends that applications
open and close the printer driver each time the application uses the Print
Manager.
Before starting to print a document, initialize a TPrint record via Setup..." request and call PrJobDialog to process a "Print..." request. start of each page. Use Quickdraw commands such as DrawText and DrawPicture to send output to the printer. Afterward, you may need to