PMPrinterGetDriverReleaseInfo
Obtains version information for the driver associated with the specified printer.
Declaration
OSStatus PMPrinterGetDriverReleaseInfo(PMPrinter printer, VersRec *release);Parameters
- printer:
The printer whose driver version you want to obtain.
- release:
A pointer to your
VersRecdata structure. On return, the structure contains the driver’s short and long version strings and country code.
Return Value
A result code. See Result Codes.
Discussion
This function is not recommended because it makes your application driver-dependent. If you do use this function, you must call it between the creation and release of a printing session. See the function PMCreateSession.
See Also
Accessing Information About a Printer
PMPrinterCopyDescriptionURLPMPrinterCopyDeviceURIPMPrinterCopyHostNamePMPrinterCopyPresetsPMPrinterGetCommInfoPMPrinterGetDescriptionURLPMPrinterGetDeviceURIPMPrinterGetDriverCreatorPMPrinterGetIDPMPrinterGetLanguageInfoPMPrinterGetLocationPMPrinterGetMakeAndModelNamePMPrinterGetMimeTypesPMPrinterGetNamePMPrinterGetOutputResolutionPMPrinterSetOutputResolutionPMPrinterGetPaperListPMPrinterGetPrinterResolutionPMPrinterGetPrinterResolutionCountPMPrinterGetIndexedPrinterResolutionPMPrinterGetStatePMPrinterSetDefaultPMPrinterIsDefaultPMPrinterIsFavoritePMPrinterIsPostScriptCapablePMPrinterIsPostScriptPrinterPMPrinterIsRemote