Contents

PMPrinterIsDefault(_:)

Returns a Boolean value indicating whether a printer is the default printer for the current user.

Declaration

func PMPrinterIsDefault(_ printer: PMPrinter) -> Bool

Parameters

  • printer:

    The printer you’re querying to determine whether it is the default printer.

Return Value

If true, the specified printer is the default printer for the current user; otherwise, false.

Discussion

The default printer is the printer selected by default in the Print dialog.

See Also

Accessing Information About a Printer