Carbon


PMSetProfile

Header: PMCore.h Carbon status: Supported

Embeds a color profile during printing.

OSStatus PMSetProfile (
    PMPrintSettings printSettings, 
    PMTag tag, 
    const CMProfileLocation *profile
);
Parameter descriptions
printSettings

A PMPrintSettings object.

tag

A tag specifying the profile. Currently, only kPMSourceProfile is supported.

profile

The location of the profile.

function result

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

DISCUSSION

Use PMSetProfile to take advantage of ColorSync color management. Call PMSetProfile each time you want to change the profile for drawing page elements.

SPECIAL CONSIDERATIONS

Valid within a printing session after creating a print settings object.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.


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