Contents

PMPrinterIsPostScriptPrinter(_:_:)

Determines whether a printer is a PostScript printer.

Declaration

func PMPrinterIsPostScriptPrinter(_ printer: PMPrinter, _ isPSPrinter: UnsafeMutablePointer<DarwinBoolean>) -> OSStatus

Parameters

  • printer:

    The printer you’re querying to determine whether it’s a PostScript printer.

  • isPSPrinter:

    A pointer to your Boolean variable. On return, true indicates that the specified printer is a PostScript printer; otherwise, false.

Return Value

A result code. See Result Codes.

Discussion

A printer is a PostScript printer if the printer driver takes PostScript directly.

See Also

Accessing Information About a Printer