Contents

PMPrinterGetMakeAndModelName(_:_:)

Obtains the manufacturer and model name of the specified printer.

Declaration

func PMPrinterGetMakeAndModelName(_ printer: PMPrinter, _ makeAndModel: UnsafeMutablePointer<Unmanaged<CFString>?>) -> OSStatus

Parameters

  • 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