Carbon


PMSessionValidatePrintSettings

Header: PMCore.h Carbon status: Supported

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

OSStatus PMSessionValidatePrintSettings (
    PMPrintSession printSession, 
    PMPrintSettings printSettings, 
    Boolean *result
);
Parameter descriptions
printSession

A PMPrintSession object.

printSettings

The PMPrintSettings 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 print settings object with PMCreatePrintSettings or PMSessionConvertOldPrintRecord.

AVAILABILITY

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

CARBON NOTES

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


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