pdfrx_web
    Preparing search index...

    Interface PdfPrint

    Print state and action returned by usePdfPrint.

    interface PdfPrint {
        error: unknown;
        isAllowed: boolean;
        isPrinting: boolean;
        isSupported: boolean;
        print: (options?: { dpi?: number }) => Promise<void>;
    }
    Index
    error: unknown

    The error from the last print attempt, or null.

    isAllowed: boolean

    Whether the current PDF's permission flags allow printing.

    isPrinting: boolean

    Whether pages are still being rendered for printing.

    isSupported: boolean

    False on iOS/iPadOS, where WebKit cannot reliably isolate PDF pages from viewer UI.

    print: (options?: { dpi?: number }) => Promise<void>

    Renders every page and opens the browser's print dialog.