Carbon


PMDefaultPageFormat

Header: PMCore.h Carbon status: Supported

Assigns default parameter values to an existing PMPageFormat object, for the current printer.

OSStatus PMDefaultPageFormat (
    PMPageFormat pageFormat
);
Parameter descriptions
pageFormat

On return, a PMPageFormat object containing default parameter values.

function result

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

DISCUSSION

PMSessionDefaultPageFormat is recommended instead of PMDefaultPageFormat.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin and creating a page format object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMDefaultPageFormat function and the PMDefaultPrintSettings function replace the Printing Manager function PrintDefault.


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