Carbon


PMSessionDefaultPageFormat

Header: PMCore.h Carbon status: Supported

Assigns default parameter values to a PMPageFormat object for the specified printing session.

OSStatus PMSessionDefaultPageFormat (
    PMPrintSession printSession, 
    PMPageFormat pageFormat
);
Parameter descriptions
printSession

A PMPrintSession object.

pageFormat

A PMPageFormat object. On return, the object contains default parameter values.

function result

A result code. A result code. See “Result Codes”.

SPECIAL CONSIDERATIONS

Valid within the context of a printing session after creating a page format object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.1 and later when CarbonLib 1.1 or later is present.

CARBON NOTES

PMSessionDefaultPageFormat combined with PMSessionDefaultPrintSettings is equivalent to the Classic Printing Manager function PrintDefault.


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