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 theTPrint
record to the values for the current printer driver or, if aTPrint
record already exists, you must verify that the information in theTPrint
record is correct. ThePrintDefault
procedure fills in aTPrint
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. ThePrValidate
function ensures that theTPrint
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 theTPrint
record; you should not assume any values will remain the same.
Subtopics
- PrintDefault
- PrValidate