PMPrinterGetMakeAndModelName(_:_:)
Obtains the manufacturer and model name of the specified printer.
Declaration
func PMPrinterGetMakeAndModelName(_ printer: PMPrinter, _ makeAndModel: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatusParameters
- printer:
The printer whose manufacturer and model name you want to obtain.
- makeAndModel:
A pointer to your Cfstring variable. On return, the variable refers to a Core Foundation string containing the manufacturer and model name of the specified printer. You should not release the string without first retaining it. If an error occurs, the variable is set to
NULL.
Return Value
A result code. See Result Codes.
See Also
Accessing Information About a Printer
PMPrinterCopyDescriptionURL(_:_:_:)PMPrinterCopyDeviceURI(_:_:)PMPrinterCopyHostName(_:_:)PMPrinterCopyPresets(_:_:)PMPrinterGetCommInfo(_:_:_:)PMPrinterGetDriverCreator(_:_:)PMPrinterGetID(_:)PMPrinterGetLocation(_:)PMPrinterGetMimeTypes(_:_:_:)PMPrinterGetName(_:)PMPrinterGetOutputResolution(_:_:_:)PMPrinterSetOutputResolution(_:_:_:)PMPrinterGetPaperList(_:_:)PMPrinterGetPrinterResolutionCount(_:_:)PMPrinterGetIndexedPrinterResolution(_:_:_:)PMPrinterGetState(_:_:)PMPrinterSetDefault(_:)PMPrinterIsDefault(_:)PMPrinterIsFavorite(_:)PMPrinterIsPostScriptCapable(_:)PMPrinterIsPostScriptPrinter(_:_:)PMPrinterIsRemote(_:_:)