• Print the report without showing a viewer.

    Parameters

    • printOptions: PrintOptions
    • Optional isCancelRequested: (() => boolean)

      The function is periodically called with a check to cancel the export task.

        • (): boolean
        • Returns boolean

    Returns Promise<void>

    Example: Usage example:

    // ESM usage
    import { printReport } from './jsViewer.min.js';
    printReport({
    reportID: 'AnnualReport.rdlx'
    });