PSPDFPrintMode

Objective-C

NS_CLOSED_ENUM(NSUInteger, PSPDFPrintMode) {
    /// The interactive mode presents the `UIPrintInteractionController`.
    PSPDFPrintModeInteractive,

    /// This mode will not show a document preview or any other options (such as print count).
    PSPDFPrintModeChoosePrinterOnly,

    /// This mode will use the set `UIPrinter` object on `defaultPrinter` to invoke printing without further UI.
    PSPDFPrintModePrintDirect
}

Swift

@frozen enum Mode : UInt, @unchecked Sendable

Undocumented

  • The interactive mode presents the UIPrintInteractionController.

    Declaration

    Objective-C

    PSPDFPrintModeInteractive

    Swift

    case interactive = 0
  • This mode will not show a document preview or any other options (such as print count).

    Declaration

    Objective-C

    PSPDFPrintModeChoosePrinterOnly

    Swift

    case choosePrinterOnly = 1
  • This mode will use the set UIPrinter object on defaultPrinter to invoke printing without further UI.

    Declaration

    Objective-C

    PSPDFPrintModePrintDirect

    Swift

    case printDirect = 2