Carbon


PMPrintSettings

Header: PMDefinitions.h

Stores information such as the print quality and the range of pages to print for a particular printing session.

typedef struct OpaquePMPrintSettings* PMPrintSettings;

Your application uses this opaque object for storing print settings. Use the function PMCreatePrintSettings to create an instance of this object for a particular printing session. When your application displays a Print dialog box by calling PMSessionPrintDialog or PMSessionPrintDialogMain, the user can change these settings, which the Carbon Printing Manager stores in the PMPrintSettings object.

Although a PMPrintSettings object can be saved with a document, the object is intended to describe only one particular printing session.

SPECIAL CONSIDERATIONS

If you are using non-session printing functions, you should note that the PMPrintSettings object is valid only within the PMBegin/PMEnd block in which it is allocated, as the object is automatically disposed by the PMEnd function.


© 2000 Apple Computer, Inc. (Last Updated 7/17/2000)