# Specify the Report to print

**URL:** <https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944>\
**Category:** Ignition\
**Created:** [November 9, 2017, 12:52pm UTC](https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944 "2017-11-09T12:52:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![lsauna40](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lsauna40/32/4515_2.png) [@lsauna40](https://forum.inductiveautomation.com/u/lsauna40)\
**Post date:** [November 9, 2017, 12:52pm UTC](https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944/1 "2017-11-09T12:52:56Z")

</div>

_Hi Ignition community,_  
_today i’ve one questions…_  
_Can i specify the report to print? And how?_  
_I use this code in a button:_

```auto
report = event.source.parent.getComponent("Report Viewer")
report.print()

```

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 9, 2017, 1:41pm UTC](https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944/2 "2017-11-09T13:41:48Z")

</div>

Set the .reportPath property of your report viewer. See the [Report Viewer documentation](https://docs.inductiveautomation.com/display/DOC79/Report+Viewer). Consider taking the _ **free** _ [Reporting in Ignition Course](https://inductiveuniversity.com/course/reporting-in-ignition/) from Inductive University.

---

<div class="post-metadata">

**Author:** ![lsauna40](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lsauna40/32/4515_2.png) [@lsauna40](https://forum.inductiveautomation.com/u/lsauna40)\
**Post date:** [November 9, 2017, 1:51pm UTC](https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944/3 "2017-11-09T13:51:28Z")

</div>

Can i Path more report at same time?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 9, 2017, 1:54pm UTC](https://forum.inductiveautomation.com/t/specify-the-report-to-print/15944/4 "2017-11-09T13:54:49Z")

</div>

No. The viewer can only display one report at a time, and it’s print function only prints that one. If you want to run and print multiple reports without looking at them, consider using [system.report.\*](https://docs.inductiveautomation.com/display/DOC79/system.report) scripting to generate them instead.
