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 /


TPrStl

The prStl field of the TPrint record (described on page 9-41) contains a TPrStl record, which in turn contains the device number of the current printer and the feed type currently selected (either paper cassette or manual). All other fields are reserved.

TYPE TPrStl =              {printing style record}
   RECORD
      wDev:    Integer;    {device number of printer}
      iPageV:  Integer;    {reserved}
      iPageH:  Integer;    {reserved}
      bPort:   SignedByte; {reserved}
      feed:    TFeed;      {feed type}
   END;
Field Description
wDev
The device number of the current printer (in the high-order byte of this field). The low-order byte of this field is reserved.
iPageV
Reserved.
iPageH
Reserved.
bPort
Reserved.
feed
The feed type currently selected. The possible values are defined by the TFeed data type:
               TYPE TFeed = 
               (feedCut,feedFanfold,feedMechCut,feedOther);

Previous Book Contents Book Index Next

© Apple Computer, Inc.
7 JUL 1996