PATHMac OS 8 and 9 Developer Documentation > Mutlimedia and Graphics > ColorSync Manager >

Managing Color With ColorSync


Color Matching While Printing

The ColorSync Manager defines the TEnableColorMatchingBlk type for use with the Toolbox PrGeneral function to enable or disable color matching while printing.


TEnableColorMatchingBlk

You pass a structure defined by the TEnableColorMatchingBlk data type to the PrGeneral function when you use the EnableColorMatchingOp opcode, described in PrGeneral Function Operation Codes . ColorSync-supportive drivers support the EnableColorMatchingOp operation code as a PrGeneral call that turns the fEnableIt flag on or off to enable or disable color matching.

struct TEnableColorMatchingBlk {
    short                       iOpCode;
    short                       iError;
    long                        lReserved;
    THPrint                     hPrint;
    Boolean                     fEnableIt;
    SInt8                       filler;
};

Field descriptions

iOpCode
The PrGeneral printing opcode.
iError
The returned error code.
lReserved
Reserved for future use.
hPrint
A valid print record.
fEnableIt
The flag set by the EnableColorMatchingOp opcode.
filler
Filler.

© 1988-1999 Apple Computer, Inc. — (Last Updated 20 Jan 99)