WeasyPrint
WKHTMLToPDF
Our great sponsors
WeasyPrint | WKHTMLToPDF | |
---|---|---|
8 | 43 | |
4,961 | 12,213 | |
1.9% | 1.3% | |
9.7 | 3.5 | |
6 days ago | 12 days ago | |
Python | C++ | |
BSD 3-clause "New" or "Revised" License | GNU Lesser General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
WeasyPrint
-
QuestPDF 2021.10 - a new version of the open-source, MIT-licensed, C# library for generating PDF documents with fluent API, now with extended text capabilities. Please help me make it popular :)
I’d recommend Weasyprint (.net core wrapper) instead of wkhtmltopdf. It supports CSS Paged Media which is pretty much required for everything but the simplest of HTML2PDF conversions.
-
Is there a way to publish a PDF report in a Jenkins job?
you can convert html to pdf using https://github.com/Kozea/WeasyPrint
-
Beautiful PDFs from HTML
Yeah, in the Python world there's WeasyPrint for PDF out in the wild as well. It's quite slick, but it's a harder sell because of Python, which corporate types seem to think is bad hacker central.
- WeasyPrint - The awesome document factory
- WeasyPrint – Convert web documents to PDF
-
wkhtmltopdf - Convert HTML to PDF
Another free CLI tool to consider is WeasyPrint. (Github)
WKHTMLToPDF
-
Generate PDFs from HTML via Puppeteer on AWS Lambda + API Gateway
While also supporting all the latest features of HTML5 && CSS3?
-
PDF Export solutions?
We're doing export from server side with https://wkhtmltopdf.org/ and https://github.com/jhonnymertz/java-wkhtmltopdf-wrapper, but it's for an old project. Now i would also evaluate the Puppeteer solution as proposed by someone else.
- Automation Screenshots
- Lebenslauf auf einer Webseite oder doch PDF?
-
Print to PDF Settings - Is It Possible?
You might get some mileage out of wkhtmltopdf binaries.
-
(Pandoc) How to Make Tables More Organized?
There are some other options. You can install wkhtml2pdf and use wkhtml2pdf. In this case, you would write a header HTML file with some CSS on how you want to render the table.
-
mdbook-pdf: A mdBook backend for generating PDF files
Before decided to use Chrome DevTools Protocol Page.printToPDF, I also tried wkhtmltopdf which is based on QT4 Webkit. Hovewer, wkhtmltopdf doesn't seem to support CSS Printing @media Rule, which will make some extra components visible and printed in the PDF.
-
Is there any free and open-source Html to pdf conversion library out there?
Wkhtmltopdf (https://wkhtmltopdf.org/) is my go to, since it also works on Azure App Service.
-
Programmatically Rendering PDFs from HTML using Chrome and Puppeteer
I've used numerous technologies for doing that conversion, including WebSuperGoo's ABCpdf.net, and Rotativa's free library. (We even have an article on how to use it.) The latter is still in use on some of my projects, but it—and its newer .Net Core version—is based on wkhtmltopdf.exe, which is a problem. More about that later.
-
Best alternative to DomPDF?
WKHTMLToPDF - https://github.com/wkhtmltopdf/wkhtmltopdf
What are some alternatives?
Dompdf - HTML to PDF converter for PHP
TCPDF - Official clone of PHP library to generate PDF documents and barcodes
ReportLab
PyPDF2 - A pure-python PDF library capable of splitting, merging, cropping, and transforming the pages of PDF files
DinkToPdf - C# .NET Core wrapper for wkhtmltopdf library that uses Webkit engine to convert HTML pages to PDF.
Snappy - PHP library allowing thumbnail, snapshot or PDF generation from a url or a html page. Wrapper for wkhtmltopdf/wkhtmltoimage
puppeteer - Headless Chrome Node.js API
mPDF - PHP library generating PDF files from UTF-8 encoded HTML
PDFMiner - Python PDF Parser (Not actively maintained). Check out pdfminer.six.
pagedjs - Display paginated content in the browser and generate print books using web technology
PHPJasper - A PHP report generator
PHPPdf - Pdf and graphic files generator library written in php