# Displaying PDF from Gateway File in Vision

**URL:** <https://forum.inductiveautomation.com/t/displaying-pdf-from-gateway-file-in-vision/74728>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [June 7, 2023, 5:50pm UTC](https://forum.inductiveautomation.com/t/displaying-pdf-from-gateway-file-in-vision/74728 "2023-06-07T17:50:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brandon\_Peterson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/brandon_peterson/32/32960_2.png) [@Brandon\_Peterson](https://forum.inductiveautomation.com/u/Brandon_Peterson)\
**Post date:** [June 7, 2023, 5:50pm UTC](https://forum.inductiveautomation.com/t/displaying-pdf-from-gateway-file-in-vision/74728/1 "2023-06-07T17:50:44Z")

</div>

I'd like to display a PDF file that's saved on the gateway computer on a Vision window. My first thought was to use the PDF Viewer from the Reporting Module, but that only seems to take file paths from the client computer, not the gateway computer. Is there a way to display a PDF that's hosted on the gateway?

My gateway is a Linux machine, so the path I want to use is:  
`/usr/local/bin/ignition/data/help_docs/help_docs.pdf`

But that doesn't display anything. I noticed I can use a path on my client PC:  
`C:\Documents\Ignition\My_Project\help_docs.pdf`

I think I could get it to display by saving the pdf as a blob in a database and running a script to load it on startup, but I feel like a better solution exists.

Any ideas or workarounds?

_Ignition v8.1.27_

---

<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:** [June 7, 2023, 8:56pm UTC](https://forum.inductiveautomation.com/t/displaying-pdf-from-gateway-file-in-vision/74728/2 "2023-06-07T20:56:06Z")

</div>

Use system.util.sendRequest() from the Vision client to have a gateway message handler read the file and return the bytes. Then set the bytes on the PDF viewer (without using the URL).
