Carbon


PMSetColorMode

Header: PMCore.h Carbon status: Supported

Sets the desired color mode for the print job.

OSStatus PMSetColorMode (
    PMPrintSettings printSettings, 
    PMColorMode colorMode
);
Parameter descriptions
printSettings

A PMPrintSettings object.

colorMode

The desired color mode (black and white, grayscale, or color). See “Color Mode Constants” for a list of values you can use to specify the color mode.

function result

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

SPECIAL CONSIDERATIONS

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

AVAILABILITY

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


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