A dashboard can be sent to the printer straight from code — as PDF or as HTML.

In React.
import { Stimulsoft } from "stimulsoft-dashboards-js-react";

var report: Stimulsoft.Report.StiReport;

function printPdf_Click()  { report.printToPdf(); }
function printHtml_Click() { report.print(); }

function App() {
    report = new Stimulsoft.Report.StiReport();
    report.loadFile("Dashboards/Dashboard.mrt");

    return (
        <>
            <button onClick={printPdf_Click}>Print PDF</button>
            <button onClick={printHtml_Click}>Print HTML</button>
        </>
    );
}

How it works. The report object handles rendering and hands the result to the browser's print flow, so no viewer is required.

By using this website, you agree to the use of cookies for analytics and personalized content. Cookies store useful information on your computer to help us improve efficiency and usability. For more information, please read the privacy policy and cookie policy.