PMPrinterGetPrinterResolutionCount(_:_:)
Obtains the number of resolution settings supported by the specified printer.
Declaration
func PMPrinterGetPrinterResolutionCount(_ printer: PMPrinter, _ countP: UnsafeMutablePointer<UInt32>) -> OSStatusParameters
- printer:
The printer whose number of resolution settings you want to obtain.
- count:
A pointer to your
UInt32variable. On return, the variable contains the number of resolutions that are supported for the specified printer.
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
PMPrinterCopyDescriptionURL(_:_:_:)PMPrinterCopyDeviceURI(_:_:)PMPrinterCopyHostName(_:_:)PMPrinterCopyPresets(_:_:)PMPrinterGetCommInfo(_:_:_:)PMPrinterGetDriverCreator(_:_:)PMPrinterGetID(_:)PMPrinterGetLocation(_:)PMPrinterGetMakeAndModelName(_:_:)PMPrinterGetMimeTypes(_:_:_:)PMPrinterGetName(_:)PMPrinterGetOutputResolution(_:_:_:)PMPrinterSetOutputResolution(_:_:_:)PMPrinterGetPaperList(_:_:)PMPrinterGetIndexedPrinterResolution(_:_:_:)PMPrinterGetState(_:_:)PMPrinterSetDefault(_:)PMPrinterIsDefault(_:)PMPrinterIsFavorite(_:)PMPrinterIsPostScriptCapable(_:)PMPrinterIsPostScriptPrinter(_:_:)PMPrinterIsRemote(_:_:)