Important: The information in this document is obsolete and should not be used for new development.
Initializing and Validating TPrint Records
You must set the fields of theTPrintrecord to the values for the current printer driver or, if aTPrintrecord already exists, you must verify that the information in theTPrintrecord is correct. ThePrintDefaultprocedure fills in aTPrintrecord with the default values for the current printer.If the
TPrintrecord is not valid for the current printer driver, the document does not print. ThePrValidatefunction ensures that theTPrintrecord 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 theTPrintrecord; you should not assume any values will remain the same.
Subtopics
- PrintDefault
- PrValidate