-
Notifications
You must be signed in to change notification settings - Fork 25
PDF Libraries
james_ edited this page Nov 15, 2024
·
5 revisions
HTML to PDF Conversion Alternatives
wkhtmltopdf and its dependent libraries have been abandoned since 2020, making them unsafe choices for HTML to PDF conversion. As a result, developers need to consider alternative solutions that are actively maintained and provide reliable PDF generation capabilities.
-
Headless Chrome-based solutions
-
Non-HTML PDF generation
-
Prawn
- Pros: No external dependencies
- Cons: Requires learning a new templating language
-
Prawn
-
Commercial solution
- PrinceXML (expensive ~$3,800 for a 1-server license with 12 months upgrades and support)
- HexaPDF (AGPL!, but with commercial license offerings) Can do form stuff!
Choose based on your specific needs, budget, resource constraints, and willingness to learn new tools.
Honorable mentions:
- WickedPDF was great, but is wkhtmltopdf based.
- If the output can be considered book like then consider calibre.