Carbon


PMSessionValidatePageFormat

Header: PMCore.h Carbon status: Supported

Obtains a PMPageFormat object that is valid within the context of the specified printing session.

OSStatus PMSessionValidatePageFormat (
    PMPrintSession printSession, 
    PMPageFormat pageFormat, 
    Boolean *result
);
Parameter descriptions
printSession

A PMPrintSession object.

pageFormat

The PMPageFormat object to be validated.

result

On return, a value of true if any parameters were changed, or false if no changes were required.

function result

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

SPECIAL CONSIDERATIONS

Valid after creating a page format object with PMCreatePageFormat or PMSessionConvertOldPrintRecord.

AVAILABILITY

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

CARBON NOTES

PMSessionValidatePageFormat combined with PMSessionValidatePrintSettings is equivalent to the Classic Printing Manager function PrValidate.


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