wkhtmltopdf and wkhtmltoimage are open source (LGPLv3) command line tools to render HTML into PDF and various image formats using the Qt WebKit rendering engine. These run entirely "headless" and do not require a display or display service. There is also a C library, if you're into that kind of thing. The file pdf.h contains a fairly high level and stable pure c binding to wkhtmltopdf. These binding are well documented and do not depend on QT. Using this is the recommended way of interfacing with the PDF portion of libwkhtmltox. The rest of the headers directly exposes the C++ QT dependent class used internally by wkhtmltopdf and wkhtmltoimage. wkhtmltopdf is able to put several objects into the output file, an object is either a single webpage, a cover webpage or a table of contents. The objects are put into the output document in the order they are specified on the command line, options can be specified on a per object basis or in the global options area.

Features

  • Download a precompiled binary or build from source
  • Create your HTML document that you want to turn into a PDF (or image)
  • Run your HTML document through the tool
  • There are plenty of command line options
  • Generate invoices, create birthday cards, or all other sorts of fun things
  • A page objects puts the content of a single webpage into the output document

Project Samples

Project Activity

See All Activity >

Categories

HTML/XHTML, PDF, Invoice

License

GNU Library or Lesser General Public License version 3.0 (LGPLv3)

Follow wkhtmltopdf

wkhtmltopdf Web Site

Other Useful Business Software
Paessler: Easy to Use With Enterprise Power. Free Trial Icon
Paessler: Easy to Use With Enterprise Power. Free Trial

A low-code dashboard makes monitoring intuitive for any admin, while scripting and custom sensors give experts full control.

You shouldn't have to choose between a monitoring tool that's easy to use and one that's powerful enough for a complex environment. PRTG's low-code interface lets any admin build dashboards, set alerts and monitor devices without scripting, while custom sensors and full API access are there when your team needs deeper control. One platform, no compromise. Download a free 30-day trial now.
Get Free Download
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of wkhtmltopdf!

Additional Project Details

Operating Systems

Linux

Programming Language

C++

Related Categories

C++ HTML XHTML, C++ PDF Software, C++ Invoice Software

Registered

2021-05-26