Carbon


PMGetDriverCreator

Header: PMCore.h Carbon status: Supported

Obtains the creator of the driver associated with the current printer.

OSStatus PMGetDriverCreator (
    OSType *creator
);
Parameter descriptions
creator

On return, the 4-byte creator type of the driver (for example, ‘APPL’ for an Apple printer driver).

function result

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

DISCUSSION

PMPrinterGetDriverCreator is recommended instead of PMGetDriverCreator.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMGetDriverCreator function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode.


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