Carbon


PMPageFormat

Header: PMDefinitions.h

Stores information about how pages of a document should be printed.

typedef struct OpaquePMPageFormat* PMPageFormat;

The PMPageFormat object stores information such as page orientation, paper size, and printable area. Your application uses the function PMCreatePageFormat to create an instance of this opaque object. When your application displays a Page Setup dialog box by calling PMSessionPageSetupDialog or PMSessionPageSetupDialogMain, the user can change these settings, which the Carbon Printing Manager stores in the PMPageFormat object.

Although a PMPageFormat 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 PMPageFormat 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)