# Print the current screen to gateway

**URL:** <https://forum.inductiveautomation.com/t/print-the-current-screen-to-gateway/84239>\
**Category:** Ignition\
**Tags:** ignition80, perspective\
**Created:** [January 13, 2024, 1:27pm UTC](https://forum.inductiveautomation.com/t/print-the-current-screen-to-gateway/84239 "2024-01-13T13:27:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chaoliang](https://avatars.discourse-cdn.com/v4/letter/c/ba8739/32.png) [@chaoliang](https://forum.inductiveautomation.com/u/chaoliang)\
**Post date:** [January 13, 2024, 1:27pm UTC](https://forum.inductiveautomation.com/t/print-the-current-screen-to-gateway/84239/1 "2024-01-13T13:27:59Z")

</div>

a perspective page is developed nicely to show the train status, I want to add this page to the report.

ideally, I want to generate a daily report, but I don't think ignition gateway is capable to render this page somewhere on the gateway and print it out as a jpg file.  
So i am thinking about letting the operator clicking a button on this page, then a screenshot of the page can be generated using the following script:

```auto
self.parent.requestPrint("component", "ImageTitleHere")

```

but the problem is that this is to print to a client local printer.  
Is there any way the screenshot can be saved as JPG, then save to gateway, so I can insert it to a report template?

Or better way is: whether ignition gateway can render a view and print it out directly on the gateway?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [January 13, 2024, 1:36pm UTC](https://forum.inductiveautomation.com/t/print-the-current-screen-to-gateway/84239/2 "2024-01-13T13:36:08Z")

</div>

> I don't think ignition gateway is capable to render this page somewhere on the gateway and print it out as a jpg file.

Correct. Perspective pages are rendered by a browser.

> Or better way is: whether ignition gateway can render a view and print it out directly on the gateway?

I think you mean "print it out _from_ the gateway" - and presumably to the local printer.

The right way to do this would be to create a report with the correct paper size, etc. Browser printouts can be too wide, etc., for a single page and it gets messy. However, it may be your simplest solution.

You don't mention whether you're using a web browser or the Perspective application. If you're using a browser there are many browser extensions that will give you a Print Screen button and I imagine that these could be configured to use a local printer and - if you find the right one - ensure that it scales to fit the page width.

[https://www.google.com/search?q=chrome+extension+print+screen&oq=chrome+extension+print](https://www.google.com/search?q=chrome+extension+print+screen&oq=chrome+extension+print)
