# Report Viewer - Scripting the Print Option

**URL:** <https://forum.inductiveautomation.com/t/report-viewer-scripting-the-print-option/115441>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 7, 2026, 5:22pm UTC](https://forum.inductiveautomation.com/t/report-viewer-scripting-the-print-option/115441 "2026-05-07T17:22:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NP209](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/np209/32/80704_2.png) [@NP209](https://forum.inductiveautomation.com/u/NP209)\
**Post date:** [May 7, 2026, 5:22pm UTC](https://forum.inductiveautomation.com/t/report-viewer-scripting-the-print-option/115441/1 "2026-05-07T17:22:52Z")

</div>

In the bottom right corner of the Report Viewer in Perspective, there are two options, one to download the report or print.

Is there a way to script what the print button is doing? A few of our users have mentioned how small this button is and I was wanting to give them a bigger print button that still has that print preview screen it triggers, but I can't find any documentation that would be useful.

Has anyone else done this or can share some links to info on this?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/e/9ea8ca975121cccd8764f0347202f9c4797565e5.png)

---

<div class="post-metadata">

**Author:** ![Kevin\_Flener](https://avatars.discourse-cdn.com/v4/letter/k/74df32/32.png) [@Kevin\_Flener](https://forum.inductiveautomation.com/u/Kevin_Flener)\
**Post date:** [May 7, 2026, 6:00pm UTC](https://forum.inductiveautomation.com/t/report-viewer-scripting-the-print-option/115441/2 "2026-05-07T18:00:22Z")

</div>

Disable that button by setting props.allowDownload to false, and use a button component with system.report.executeAndDistribute.

> **[system.report.executeAndDistribute | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/appendix/scripting-functions/system-report/system-report-executeAndDistribute)**
>
> Executes and distributes a report.
