wkhtmltopdf

How to convert web pages to pdf using wkhtmltopdf

sudo ln -s /usr/bin/wkhtmltopdf /usr/local/bin/html2pdf

Example

html2pdf http://www.cyberciti.biz/path/to/url.html output.pdf