Contents

PMPrinterGetDriverCreator(_:_:)

Obtains the creator of the driver associated with the specified printer.

Declaration

func PMPrinterGetDriverCreator(_ printer: PMPrinter, _ creator: UnsafeMutablePointer<OSType>) -> OSStatus

Parameters

  • printer:

    The printer whose driver creator you want to obtain.

  • creator:

    On return, the 4-byte creator code of the driver (for example, 'APPL' for an Apple printer driver).

Return Value

A result code. See Result Codes.

Discussion

This function is not recommended because it makes your application driver-dependent.

See Also

Accessing Information About a Printer