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();

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.