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
Data Structures /


TPrStatus

The PrPicFile procedure (described on page 9-68) returns printing status information in a record of data type TPrStatus. (You call the PrPicFile procedure for a printer using deferred printing.)

TYPE TPrStatus =              {printing status record}
   RECORD
      iTotPages:  Integer;    {total pages in print file}
      iCurPage:   Integer;    {current page number}
      iTotCopies: Integer;    {total copies requested}
      iCurCopy:   Integer;    {current copy number}
      iTotBands:  Integer;    {reserved}
      iCurBand:   Integer;    {reserved}
      fPgDirty:   Boolean;    {TRUE if current page has been }
                              { written to}
      fImaging:   Boolean;    {reserved}
      hPrint:     THPrint;    {handle to the active TPrint record}
      pPrPort:    TPPrPort;   {pointer to the active printing }
                              { port}
      hPic:       PicHandle;  {handle to the active picture}
   END;
Field Description
iTotPages
The total number of pages being printed. This is the value of the iLstPage field minus the value of the iFstPage field, which are both in the TPrJob record (described on page 9-44).
iCurPage
The sequence number of the page currently being printed. For example, if the user prints pages 10 through 15 of a 20-page document, the value of the iCurPage field for page 10 is 1.
iTotCopies
The total number of copies requested. This value may be different from the value of the iCopies field in the TPrJob record.
iCurCopy
The number of the current copy being printed.
iTotBands
Reserved.
iCurBand
Reserved.
fPgDirty
A flag indicating whether the printer has begun printing the current page. Set to TRUE if there has been any imaging on the current page.
fImaging
A flag indicating whether the printer driver is in the middle of an imaging call.
hPrint
A handle to the current TPrint record (described on page 9-41).
pPrPort
A pointer to the TPrPort record for the current printing graphics port (described on page 9-48).
hPic
A handle to the active picture. This is used by the printer driver; your application should not alter it.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996