Carbon


PMGetDriverReleaseInfo

Header: PMCore.h Carbon status: Supported

Obtains release information for the driver associated with the current printer.

OSStatus PMGetDriverReleaseInfo (
    VersRec *release
);
Parameter descriptions
release

On return, a pointer to a VersRec data structure containing the driver’s short and long version strings and country code.

function result

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

DISCUSSION

PMPrinterGetDriverReleaseInfo is recommended instead of PMGetDriverReleaseInfo.

SPECIAL CONSIDERATIONS

Valid after calling PMBegin.

AVAILABILITY

Supported in Carbon. Available in Carbon 1.0.2 and later.

CARBON NOTES

The PMGetDriverReleaseInfo function replaces the Printing Manager opcode kPrinterDirectOpCode in kPDVerifySelect mode, and obtains information formerly contained in the iPrVersion of the Printing Manager structure TPrint.


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