Important: The information in this document is obsolete and should not be used for new development.
Data StructuresThis section shows the Pascal data structures defined by the Printing Manager.
You must create or ensure a valid
TPrintrecord for every document before you can print it. This record specifies printer characteristics and the characteristics of a particular print job.
Contained in every
TPrintrecord is a
TPrInforecord, which specifies the vertical and horizontal resolutions, of the current printer and describes the page rectangle. A
TPrJobrecord, which contains information about a particular print job--such as the range of pages to print, the number of copies, and a pointer to an idle procedure--is also contained in a
TPrStlrecord, which is also contained in a
TPrintrecord, contains the device number of the current printer and the feed type to be used when printing the document.
PrPicFileprocedure returns printing status information in a record of data type
TPrStatus. (You call the
PrPicFileprocedure for a printer using deferred printing.)
TPrDlgrecord contains information necessary when altering the default style or job dialog box.
TPrPortrecord describes a printing graphics port--the environment into which your application draws in order to print.
You use the
TGetRotnBlkrecords in conjunction with the
In almost all cases, printer drivers use the reserved fields in these data structures for device-dependent information. You should not rely on the availability or accuracy of this information when printing from your application.