# Display a chart in PDF

**URL:** https://discourse.nodered.org/t/display-a-chart-in-pdf/20040
**Category:** General
**Created:** [8 January 2020 08:30 UTC](https://discourse.nodered.org/t/display-a-chart-in-pdf/20040 "2020-01-08T08:30:43Z")
**Posts on this page:** 1
**Showing post:** 15

<div class="post-metadata">

### Author: ![wojtekdera](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/wojtekdera/32/15912_2.png) [@wojtekdera](https://discourse.nodered.org/u/wojtekdera)
#### Post date: [24 January 2020 11:39 UTC](https://discourse.nodered.org/t/display-a-chart-in-pdf/20040/15 "2020-01-24T11:39:32Z")

</div>

I have another error on my Windows server or Raspberry machine:  
**SetProcessDpiAwareness failed: "COM error 0x80070005 (Unknown error 0x0ffffffff80070005).**

When i'm running on my Windows 10 everything works normal.

The problem was described in:

> [@Html-pdf Node Error](https://discourse.nodered.org/t/html-pdf-node-error/3248):
>
> Hello - I'm getting the below error when trying to use the html-pdf node on a rasberry pi zero. When running the same flow on a windows machine I'm successful. I've looked around the internet and found a few folks having the same issues but haven't seen any solutions that have worked for me. Any ideas here? html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath' Flows: [{"id":"a2ca1b99.8e3b58","type":"inject","z":"dab759db.…

Can anyone help me?

---

_[View the full topic](https://discourse.nodered.org/t/display-a-chart-in-pdf/20040)._
