PMPrinterGetPrinterResolution
Obtains a resolution setting for the specified printer.
Declaration
OSStatus PMPrinterGetPrinterResolution (
PMPrinter printer,
PMTag tag,
PMResolution *res
);Parameters
- printer:
The printer whose resolution you want to obtain.
- tag:
A tag that specifies the kind of resolution information you want to obtain (minimum, maximum, default, and so forth). See Tag_constants for a description of the constants you can pass in this parameter.
- res:
A pointer to your Pmresolution data structure. On return, the structure contains the resolution setting associated with the tag value.
Return Value
A result code. The result code kPMNotImplemented indicates that the printer driver does not support multiple resolution settings.
See Also
Accessing Information About a Printer
PMPrinterCopyDescriptionURLPMPrinterCopyDeviceURIPMPrinterCopyHostNamePMPrinterCopyPresetsPMPrinterGetCommInfoPMPrinterGetDescriptionURLPMPrinterGetDeviceURIPMPrinterGetDriverCreatorPMPrinterGetDriverReleaseInfoPMPrinterGetIDPMPrinterGetLanguageInfoPMPrinterGetLocationPMPrinterGetMakeAndModelNamePMPrinterGetMimeTypesPMPrinterGetNamePMPrinterGetOutputResolutionPMPrinterSetOutputResolutionPMPrinterGetPaperListPMPrinterGetPrinterResolutionCountPMPrinterGetIndexedPrinterResolutionPMPrinterGetStatePMPrinterSetDefaultPMPrinterIsDefaultPMPrinterIsFavoritePMPrinterIsPostScriptCapablePMPrinterIsPostScriptPrinterPMPrinterIsRemote