Contents

PMPrinterGetPrinterResolutionCount(_:_:)

Obtains the number of resolution settings supported by the specified printer.

Declaration

func PMPrinterGetPrinterResolutionCount(_ printer: PMPrinter, _ countP: UnsafeMutablePointer<UInt32>) -> OSStatus

Parameters

  • printer:

    The printer whose number of resolution settings you want to obtain.

  • count:

    A pointer to your UInt32 variable. 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