Trying to decide on the best route for generating server-side pdf reports within my app currently deployed on Heroku. I've read several posts that say both require installation external libraries- but haven't found anything describing functionality & ease of install on Heroku.
Does anyone here have experience installing either to an app on Heroku? Is it a difficult process- is one easier to setup on Heroku than the other? Or if I am able to install on my local system and run PIP Freeze, will that take care of any installs necessary on Heroku?
Thanks!!
Weasyprint needs some dependencies installed, think it's not possible to install it on heroku. I tested it locally and it worked pretty well, after the setup was done, it was easy to feed a nice dynamic html-document and get a solid pdf in return.
heroku offers a web2pdf-addon: https://elements.heroku.com/addons/webtopdf#details
I did not test it yet, but it looks promising.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With