# Execute the same report x times and perspective download as multiple pages in a single file

**URL:** <https://forum.inductiveautomation.com/t/execute-the-same-report-x-times-and-perspective-download-as-multiple-pages-in-a-single-file/29407>\
**Category:** Ignition Early Access\
**Created:** [October 25, 2019, 6:19pm UTC](https://forum.inductiveautomation.com/t/execute-the-same-report-x-times-and-perspective-download-as-multiple-pages-in-a-single-file/29407 "2019-10-25T18:19:00Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [October 25, 2019, 6:25pm UTC](https://forum.inductiveautomation.com/t/execute-the-same-report-x-times-and-perspective-download-as-multiple-pages-in-a-single-file/29407/2 "2019-10-25T18:25:53Z")

</div>

Combining PDFs is not as simple as just appending the byte arrays to each other - in fact, it’s decidedly non-trivial. Looks like there are some command line tools you could use: [https://stackoverflow.com/questions/2507766/merge-convert-multiple-pdf-files-into-one-pdf](https://stackoverflow.com/questions/2507766/merge-convert-multiple-pdf-files-into-one-pdf) - you’d have to execute the reports and save them somewhere on the gateway, then run an external command, then load those bytes into system.perspective.download.

---

_[View the full topic](https://forum.inductiveautomation.com/t/execute-the-same-report-x-times-and-perspective-download-as-multiple-pages-in-a-single-file/29407)._
