Reputation: 3126
I want convert an HTML report to PDF. I know that there are so many libraries are available for this purpose. But the HTML report contains so many graphs created using Jqplot. I want to include these graphs in the PDF also. If you are familiar with any library which also convert graphs to PDF, please give me the reference.
Upvotes: 1
Views: 1398
Reputation: 1312
I don't have experience with Jqplot, but I have successfully converted html pages which contain pie charts from Google Charts (completely javascript generated) to pdf.
I used wkhtmltopdf
- it's a commandline tool but there are wrapper classes for php and some others I believe.
I'm sure you could find something applicable with a bit of googling but this looks promising: https://github.com/mikehaertl/phpwkhtmltopdf
Upvotes: 0
Reputation: 199
you can use bullzip pdf printer it creates a virtual pdf printer that can transform your HTML content to a pdf file from the browser: http://www.bullzip.com/
you can also find a lot of useful tools right there!
Upvotes: 2