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

In Vue.
<script setup lang="ts">
import { Stimulsoft } from "stimulsoft-dashboards-js-vuejs";

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

function printPdf_Click()  { report.printToPdf(); }
function printHtml_Click() { report.print(); }
</script>

<template>
    <button @click="printPdf_Click">Print PDF</button>
    <button @click="printHtml_Click">Print HTML</button>
</template>

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.