Thursday, February 24, 2011

How to Convert Webpage to PDF in Ubuntu/Debian Linux : wkhtmltopdf

Wkhtmltopdf is a command line utility for converting  webpage / html to  PDF.

Features

  • Convert web pages into PDF documents using webkit
  • Adding headers and footers (static version only)
  • TOC generation (static version only)
  • Batch mode conversions
  • (Linux) No longer requires an XServer to be running (however the X11 client libs must be installed)
How to install wkhtmltopdf in Ubuntu / Debian
$  sudo apt-get install wkhtmltopdf

See More Usage Details here



1 comment:

Beta said...

Turns in ubuntu can to convert a PDF file.