# Download Dash HTML page as pdf file?

**URL:** <https://community.plotly.com/t/download-dash-html-page-as-pdf-file/41553>\
**Category:** Dash Python\
**Created:** [June 25, 2020, 11:26am UTC](https://community.plotly.com/t/download-dash-html-page-as-pdf-file/41553 "2020-06-25T11:26:17Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mahedi](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Mahedi](https://community.plotly.com/u/Mahedi)\
**Post date:** [June 25, 2020, 11:26am UTC](https://community.plotly.com/t/download-dash-html-page-as-pdf-file/41553/1 "2020-06-25T11:26:17Z")

</div>

Hello Everyone hope this question will be answered!, I have looked here and there without find a solution or an intuitive idea,

**How could we download the HTML page of Dash app as a PDF file on button click?**

---

<div class="post-metadata">

**Author:** ![mahendrark](https://sea2.discourse-cdn.com/flex024/user_avatar/community.plotly.com/mahendrark/32/10460_2.png) [@mahendrark](https://community.plotly.com/u/mahendrark)\
**Post date:** [June 25, 2020, 1:49pm UTC](https://community.plotly.com/t/download-dash-html-page-as-pdf-file/41553/2 "2020-06-25T13:49:20Z")

</div>

I have the same question.

I want to add a print button to the dash app that lets the user print a PDF directly.

The vanguard example code is not available on github ☹

---

<div class="post-metadata">

**Author:** ![Mahedi](https://avatars.discourse-cdn.com/v4/letter/m/bbce88/32.png) [@Mahedi](https://community.plotly.com/u/Mahedi)\
**Post date:** [June 25, 2020, 2:47pm UTC](https://community.plotly.com/t/download-dash-html-page-as-pdf-file/41553/3 "2020-06-25T14:47:24Z")

</div>

I have tried this one, but I it doesn’t work actually,

> **[plotly/dash-sample-apps](https://github.com/plotly/dash-sample-apps/tree/master/apps/dash-financial-report)**
>
> Apps hosted in the Dash Gallery. Contribute to plotly/dash-sample-apps development by creating an account on GitHub.
