Categories |
|
---|---|
Website | wkhtmltopdf.org |
Details $ |
Categories |
|
---|---|
Website | weasyprint.org |
Details $ |
No WeasyPrint videos yet. You could help us improve this page by suggesting one.
wkhtmltopdf might be a bit more popular than WeasyPrint. We know about 33 links to it since March 2021 and only 27 links to WeasyPrint. We are tracking product recommendations and mentions on various public social media platforms and blogs. They can help you identify which product is more popular and what people think of it.
Wkhtmltopdf[1] uses the QT WebKit renderer. I used it as part of my job hut work-flow with pandoc to get pdf resumes from markdown. It got me a job, so there's that. [1] https://wkhtmltopdf.org/. - Source: Hacker News / about 1 month ago
I've been using WkhtmlToPdf all this while, so this seems a better option to try since it's pure Ruby. https://wkhtmltopdf.org/. - Source: Hacker News / about 2 months ago
In 2014 we used wkhtmltopdf[0] to generate PDF copies of Cloudfoundry docs for every version every release, and maybe that's what I'd reach for now. Not sure if Qt WebKit has similar limits as Chromium. Not that you asked, but I am sitting here silently judging whoever let those pages get that large. Enough html to cap out RAM? Chesterton's Fence dictates that I presume your upstream's hands were tied, but wowee!... - Source: Hacker News / 4 months ago
In most cases no, AsciiDoctor-PDF converter uses the Ruby library PDF library Prawn to generate PDFs, However, there are alternative PDF converters which do convert from HTML (the VSC AsciiDoctor plug-in allows the option to use a different converter), but I don't think they use chrome. Please note that using different pdf converters is a bit of an advanced topic. https://wkhtmltopdf.org/, and asciidoctor-web-pdf. - Source: Hacker News / 4 months ago
There are multiple options for how to convert HTML to PDF, one could be by using open-source projects like Puppeteer or wkhtmltopdf. I wrote a separate post How to convert HTML to PDF using Puppeteer, but now for simplicity, I going to use html2pdf.app. Its free plan gives 100 credits per month, excellent! - Source: dev.to / 6 months ago
Thanks for your answer! I imagined you would be using PrinceXML behind the scenes since that is probably the gold standard in HTML+CSS rendering. The only open source alternative I know of is WeasyPrint at https://weasyprint.org/. I'm not sure how well it fares against PrinceXML, though. And thanks for the pointer to Taffy - I didn't know it before! - Source: Hacker News / 11 days ago
Some people might be interested in https://weasyprint.org/. - Source: Hacker News / about 1 month ago
I use Weasyprint [1] to generate a PDF from HTML, and I use a static site generator to convert Markdown to HTML. Weasyprint can handle code highlighting e.g. Using Pygments or another static framework, the only downside is it can't execute JS so if you e.g. Want to dynamically generate content to render you need to first pass your HTML through a headless browser, which is also possible though. There's also... - Source: Hacker News / 4 months ago
For Python there is Weasyprint: you prepare the invoice as an HTML document, and Weasyprint turns it into a PDF https://weasyprint.org/. - Source: Hacker News / 7 months ago
Well yes, but you can implement HTML+CSS. WeasyPrint did from scratch, and independent implementations of HTML+CSS are considerably more numerous than HTML+CSS+JS. Source: 9 months ago
PDF my URL - PDFmyURL turns any webpage or even complete website into PDF. Use our rest API in PHP, .NET, Ruby, Perl or any other programming language. Or convert webpages or even full websites directly in the browser!
DocRaptor - As the only API powered by the Prince HTML-to-PDF engine, DocRaptor provides the best support for complex PDFs with powerful support for headers, page breaks, page numbers, flexbox, watermarks, accessible PDFs, and much more
PDFShift - Convert any HTML documents to high-fidelity PDF using a single POST request
Prince XML - Convert HTML documents to PDF. Beautiful printing with CSS.
Tcpdf - TCPDF: Open Source PHP Class for generating PDF documents
pdflayer - Free, powerful HTML to PDF API supporting both URL and raw HTML conversion. Unlimited document size, lightning-fast and compatible PHP, Python, Ruby, etc.