Printing Manager
Code Examples
Printing a Drawing
Printing a Text File
Initialize / Terminate
PrOpen Initialize the Printing Manager
PrClose Close the Printing Manager
Preparation
PrintDefault Fill a TPrint record with default settings
PrValidate Ensure that a TPrint record has valid settings
PrJobMerge Copy data from one print record to another
PrStlDialog Process user interaction for Page Setup...
PrJobDialog Process user interaction for Print... menu item
PrStlInit Obtain address of an initialized TPrDlg structure
PrJobInit Obtain address of an initialized TPrDlg structure
PrDlgMain Initialize for and execute a print dialog
Printing
PrOpenDoc Initialize a GrafPort before printing a document
PrCloseDoc Close a printing grafPort and end a print job
PrOpenPage Initialize to begin printing a page
PrClosePage Finish printing current page
PrPicFile Print a spooled document
PrGeneral Special resolution and page orientation instructions
Errors
PrError Get result of the last Printing Manager function
PrSetError Simulate a printing error
Printer Driver
PrDrvrOpen Low-level printer driver open
PrDrvrClose Low-level printer driver close
PrCtlCall Execute a Printer Driver control routine
PrDrvrDCE Get handle to Print Driver Device Control Entry
PrDrvrVers Obtain Printer Driver version number