# CSV to pdf - Perspective Table

**URL:** <https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 12, 2022, 7:12pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977 "2022-09-12T19:12:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lautaro\_Cides](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@Lautaro\_Cides](https://forum.inductiveautomation.com/u/Lautaro_Cides)\
**Post date:** [September 12, 2022, 7:12pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/1 "2022-09-12T19:12:43Z")

</div>

Is it possible to export the information from a table as a pdf? I have been able to do this only to .csv format.  
Could I export a csv file to pdf from Perspective?

---

<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:** [September 12, 2022, 7:19pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/2 "2022-09-12T19:19:44Z")

</div>

Have you tried creating a report and using the same binding on the report table as on your Perspective table?

[https://docs.inductiveautomation.com/display/DOC80/Reporting+in+Perspective](https://docs.inductiveautomation.com/display/DOC80/Reporting+in+Perspective)

[https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Report+Viewer](https://docs.inductiveautomation.com/display/DOC81/Perspective+-+Report+Viewer)

---

<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:** [September 12, 2022, 7:59pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/3 "2022-09-12T19:59:41Z")

</div>

As @Transistor notes, the reporting module is the tool Ignition uses to make PDF files. It is the only native way for Ignition to make PDF files. It does **not** accept Perspective _graphics_ as source material–you have to design a report from scratch.

---

<div class="post-metadata">

**Author:** ![Lautaro\_Cides](https://avatars.discourse-cdn.com/v4/letter/l/e47774/32.png) [@Lautaro\_Cides](https://forum.inductiveautomation.com/u/Lautaro_Cides)\
**Post date:** [September 13, 2022, 11:54am UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/4 "2022-09-13T11:54:58Z")

</div>

We have not bought the report viewer module, so we will not be able to use it.  
Is there any library that I can use like “pandas” to convert from csv to pdf? I still haven’t found a way to put a library in Ignition.  
Thanks for answering!

---

<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:** [September 13, 2022, 12:12pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/5 "2022-09-13T12:12:33Z")

</div>

Some python libraries can be used in Ignition. There are fundamental differences between Jython and CPython that prevent many popular libraries from being used. I'm not sure about pandas.

But start here, and follow through to the Knowledge Base:

> [@Python, Jython, CPython, Libraries, Pip, and Python 2.7 vs 3 - A quick primer](https://forum.inductiveautomation.com/t/python-jython-cpython-libraries-pip-and-python-2-7-vs-3-a-quick-primer/43201):
>
> We wrote up a Knowledge Base article a little while back that I wanted to post here. It goes over a variety of questions that are common with regard to Python in Ignition. If you’re looking for information on the topic, take a glance at the linked article.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [September 13, 2022, 12:23pm UTC](https://forum.inductiveautomation.com/t/csv-to-pdf-perspective-table/63977/6 "2022-09-13T12:23:19Z")

</div>

If the library isn’t available in jython and therefore Ignition, you can still shell out to run a file with arguments via `system.util.execute` (or `subprocess` or `ProcessBuilder`) to directly run a CPython file as well (assuming that the gateway computer has CPython on it).
