[]
        
(Showing Draft Content)

printReport

Function: printReport()

function printReport(printOptions, isCancelRequested?): Promise<void>;

Print the report without showing a viewer.

Parameters

printOptions

PrintOptions

isCancelRequested?

() => boolean

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

Returns

Promise<void>

Example

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