Carbon


PMValidatePrintSettings

Header: PMCore.h Carbon status: Supported

Obtains a valid PMPrintSettings object.

OSStatus PMValidatePrintSettings (
    PMPrintSettings printSettings, 
    Boolean *result
);
Parameter descriptions
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”.

DISCUSSION

PMSessionValidatePrintSettings is recommended instead of PMValidatePrintSettings.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin and creating a print settings object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMValidatePrintSettings and PMValidatePageFormat functions replace the Printing Manager function PrValidate.


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