Home > html, php > Convert HTML to PDF

Convert HTML to PDF

In this thread you will find a list of “HTML to PDF” converters, e.g.:

WKhtmlToPDF

Simple shell utility to convert html to pdf using the webkit rendering engine, and qt.

You can get its binary executable here. Then, you can convert an html to pdf like this:

wkhtmltopdf-i386  test.html  test.pdf

The result will be similar to exporting the page in PDF in a browser. This is not a surprise, wkhtmltopdf contains the WebKit rendering engine.

About these ads
  1. Ali
    July 6, 2012 at 02:36 | #1

    I would say it is the perfect solution, although executable size is large than usual but it works perfect with inline css or whatever. I now use this one to render my html lectures in pdf.

    Thanks for sharing…

  2. Clarissa
    May 16, 2013 at 08:47 | #2

    Here is my pdf converter solution in c#, share with all, welcome all suggestions.
    http://www.rasteredge.com/how-to/csharp-imaging/pdf-converting/

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 42 other followers

%d bloggers like this: