v2.0.0
v2.1.0v2.0.0v1.2.0

Print

ActiveReportJS Viewer component includes Print button on the toolbar. Click this button opens the browser print dialog for the current displayed report. In addition, the viewer API exposes print method that can be called to print the current displayed report.

ActiveReportsJS API allows to print a report programmatically. Here is the example of code that loads, runs, and prints a report:

import { Core } from "@grapecity/activereports";
const report = new Core.PageReport();
await report.load("/reports/text-only.rdlx-json");
const doc = await report.run();
doc.print();

Alternatively a report can be exported to the PDF or HTML document with autoPrint option is set to true. In that case the print dialog of the document viewer appears when the document is opened. Check Export page for more information on how to use Export functionality of ActiveReportsJS.