Important: The information in this document is obsolete and should not be used for new development.
Enable Color Matching Block
You pass a structure defined by theTEnableColorMatchingBlk
data type to thePrGeneral
function when you use theEnableColorMatchingOp
opcode, described in "PrGeneral Function Operation Codes" (page 3-37). ColorSync-supportive drivers support theEnableColorMatchingOp
operation code as aPrGeneral
call that turns thefEnableIt
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 Description
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.