---
title: PMPrinterGetDriverReleaseInfo
framework: Application Services
role: symbol
role_heading: Function
platforms: [macOS 10.0+]
path: applicationservices/1464149-pmprintergetdriverreleaseinfo
---

# PMPrinterGetDriverReleaseInfo

Obtains version information for the driver associated with the specified printer.

## Declaration

```occ
OSStatus PMPrinterGetDriverReleaseInfo(PMPrinter printer, VersRec *release);
```

## Parameters

- `printer`: The printer whose driver version you want to obtain.
- `release`: A pointer to your `VersRec` data 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](core_printing.md).

## 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](1463247-pmcreatesession.md).

## See Also

### Accessing Information About a Printer

- [PMPrinterCopyDescriptionURL](1459187-pmprintercopydescriptionurl.md)
- [PMPrinterCopyDeviceURI](1460543-pmprintercopydeviceuri.md)
- [PMPrinterCopyHostName](1462076-pmprintercopyhostname.md)
- [PMPrinterCopyPresets](1459117-pmprintercopypresets.md)
- [PMPrinterGetCommInfo](1461069-pmprintergetcomminfo.md)
- [PMPrinterGetDescriptionURL](core_printing/1805546-pmprintergetdescriptionurl.md)
- [PMPrinterGetDeviceURI](core_printing/1805547-pmprintergetdeviceuri.md)
- [PMPrinterGetDriverCreator](1459107-pmprintergetdrivercreator.md)
- [PMPrinterGetID](1459606-pmprintergetid.md)
- [PMPrinterGetLanguageInfo](1458956-pmprintergetlanguageinfo.md)
- [PMPrinterGetLocation](1461467-pmprintergetlocation.md)
- [PMPrinterGetMakeAndModelName](1463347-pmprintergetmakeandmodelname.md)
- [PMPrinterGetMimeTypes](1460125-pmprintergetmimetypes.md)
- [PMPrinterGetName](1459018-pmprintergetname.md)
- [PMPrinterGetOutputResolution](1459076-pmprintergetoutputresolution.md)
- [PMPrinterSetOutputResolution](1459931-pmprintersetoutputresolution.md)
- [PMPrinterGetPaperList](1460088-pmprintergetpaperlist.md)
- [PMPrinterGetPrinterResolution](core_printing/1805554-pmprintergetprinterresolution.md)
- [PMPrinterGetPrinterResolutionCount](1462004-pmprintergetprinterresolutioncou.md)
- [PMPrinterGetIndexedPrinterResolution](1464490-pmprintergetindexedprinterresolu.md)
- [PMPrinterGetState](1462954-pmprintergetstate.md)
- [PMPrinterSetDefault](1461118-pmprintersetdefault.md)
- [PMPrinterIsDefault](1459030-pmprinterisdefault.md)
- [PMPrinterIsFavorite](1462074-pmprinterisfavorite.md)
- [PMPrinterIsPostScriptCapable](1464168-pmprinterispostscriptcapable.md)
- [PMPrinterIsPostScriptPrinter](1462257-pmprinterispostscriptprinter.md)
- [PMPrinterIsRemote](1461377-pmprinterisremote.md)
