# HTML Reports - HTML to PDF

**URL:** <https://community.dhis2.org/t/html-reports-html-to-pdf/29251>\
**Category:** Support - Assistance technique\
**Created:** [11 June 2015 05:55 UTC](https://community.dhis2.org/t/html-reports-html-to-pdf/29251 "2015-06-11T05:55:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Harsh\_Atal](https://dhis2.b-cdn.net/user_avatar/community.dhis2.org/harsh_atal/32/29178_2.png) [@Harsh\_Atal](https://community.dhis2.org/u/Harsh_Atal)\
**Post date:** [11 June 2015 05:55 UTC](https://community.dhis2.org/t/html-reports-html-to-pdf/29251/1 "2015-06-11T05:55:44Z")

</div>

Hi All

We have got a requirement for downloading HTML Reports as PDF. Our HTML Report is not complicated but it is also not basic. It has got colorful text, tables, images, images inside tables etc.

It is not possible currently in DHIS to download HTML Report as PDF(Although there is a workaround through the print button for chrome browser).

Therefore, Have tried to do this inside HTML Report itself. But no success. I used the javascript library _jsPdf_. Has anybody used this? or any other library/workaround?

And, How to handle such requirements (Download as excel ,PDF) for HTML Reports? Is it a good approach to do this inside the HTML Report?

Any Help is Appreciated.

Regards

harsh
