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


Initializing and Validating TPrint Records

You must set the fields of the TPrint record to the values for the current printer driver or, if a TPrint record already exists, you must verify that the information in the TPrint record is correct. The PrintDefault procedure fills in a TPrint record with the default values for the current printer.

If the TPrint record is not valid for the current printer driver, the document does not print. The PrValidate function ensures that the TPrint record is compatible with the current version of the printer driver for the current printer. These functions may change the coordinates of the page rectangle or any other value in the TPrint record; you should not assume any values will remain the same.


Subtopics
PrintDefault
PrValidate

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996