Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If we don't need the UX but need to call this functionality programmatically-- to generate PDF account statements / invoices, optionally after showing a preview as a web page -- is there a good open source solution already available that we can integrate into our app.


For Python there is Weasyprint: you prepare the invoice as an HTML document, and Weasyprint turns it into a PDF

https://weasyprint.org/


Thank you!

HTML Jinja templates seem to be fairly standard in this space.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: