# Print Entire Screen Perspective

**URL:** <https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 11, 2025, 6:54pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535 "2025-03-11T18:54:06Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 6:54pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/1 "2025-03-11T18:54:06Z")

</div>

Hi everyone,

Is there a way in Ignition perspective to print an entire screen in the browser with a button?

---

<div class="post-metadata">

**Author:** ![ryan.perretta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.perretta/32/75110_2.png) [@ryan.perretta](https://forum.inductiveautomation.com/u/ryan.perretta)\
**Post date:** [March 11, 2025, 7:02pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/2 "2025-03-11T19:02:16Z")

</div>

Came across a topic related to this a little while ago that mentions a new component function they added in a Nightly Change some time ago.

> [@Nightly 8.1 Changelogs - 2023](https://forum.inductiveautomation.com/t/nightly-8-1-changelogs-2023/68524/53):
>
> Nightly Changelog: 8.1.28-SNAPSHOT-b20230502 Swing Vision IGN-7545: NPE when clicking "Find" button in a Find/Replace context search menu Fixed an issue where find/replace of components with no extension functions populated would throw a null pointer exception. Perspective Perspective IGN-2967: Print contents of component, view, and page Added new 'Request Print' component action and new 'requestPrint' script callable component method. Choose to print the page, the view, or the componen…

Never used it before personally, but give it a whirl and let us know how it goes. _Note that is is only functional within web browsers not mobile._

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:03pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/3 "2025-03-11T19:03:17Z")

</div>

forgive the dumb question here but how would I use this?

---

<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:** [March 11, 2025, 7:05pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/4 "2025-03-11T19:05:22Z")

</div>

You'd put it on a button's list of actions to perform. Note that it cannot print outside the browser, or other tabs. And the user will have to confirm the request, choosing **where** to print. Anything more automated than that is considered malware in browsers.

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:06pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/5 "2025-03-11T19:06:16Z")

</div>

Do I need to update my Ignition gateway for this or do I just have to write something in?

---

<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:** [March 11, 2025, 7:07pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/6 "2025-03-11T19:07:14Z")

</div>

That changelog is for v8.1.28. If your Ignition version is older, you will need to upgrade.

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:09pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/7 "2025-03-11T19:09:28Z")

</div>

Ok I am on 8.1.35 so I should be fine there. So do I just write requestPrint() on the button? or do I need to add anything else to my gateway

---

<div class="post-metadata">

**Author:** ![ryan.perretta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.perretta/32/75110_2.png) [@ryan.perretta](https://forum.inductiveautomation.com/u/ryan.perretta)\
**Post date:** [March 11, 2025, 7:11pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/8 "2025-03-11T19:11:50Z")

</div>

`self.requestPrint(target='page',documentTitle='MyPDF')`

This line of code should be sufficient in the `onActionPerformed` event for a button.

`target` will give you some options for the scope of what you're printing (see the changelog for the options). `documentTitle` will give the document a default name for the user.

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:16pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/9 "2025-03-11T19:16:40Z")

</div>

Oh ok that makes more sense. And sorry but where in the changelog do I find the options?

---

<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:** [March 11, 2025, 7:17pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/10 "2025-03-11T19:17:47Z")

</div>

Changelogs are just a summary of what is new. Look in the user manual. 🤷‍♂️

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:36pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/11 "2025-03-11T19:36:18Z")

</div>

Ok yes sorry didnt realize that.

I went through it and basically I just want to print everything that is on that page I tried:

`self.requestPrint(target='view',documentTitle='MyPage')`

But that seemed to only print what is visible on the screen. My page scrolls down and I would like that as well

---

<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:** [March 11, 2025, 7:37pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/12 "2025-03-11T19:37:17Z")

</div>

Did you try `target='page'` ?

---

<div class="post-metadata">

**Author:** ![scadafan](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@scadafan](https://forum.inductiveautomation.com/u/scadafan)\
**Post date:** [March 11, 2025, 7:39pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/13 "2025-03-11T19:39:52Z")

</div>

tried that too both just show whats on the page that is it

---

<div class="post-metadata">

**Author:** ![ryan.perretta](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryan.perretta/32/75110_2.png) [@ryan.perretta](https://forum.inductiveautomation.com/u/ryan.perretta)\
**Post date:** [March 11, 2025, 8:16pm UTC](https://forum.inductiveautomation.com/t/print-entire-screen-perspective/103535/14 "2025-03-11T20:16:04Z")

</div>

> [@Perspective Screenshot Capture](https://forum.inductiveautomation.com/t/perspective-screenshot-capture/24312/28):
>
> Requesting print prints exactly what is visible on the screen

Mentioned, in the original post I was referencing. There's no way to get around that (unless you zoom way out...).
