Converts HTML and CSS to PDF documents programmatically
PDF generator using HTML and CSS
xhtml2pdf
$ xhtml2pdf input.html output.pdf
$ xhtml2pdf -s styles.css input.html output.pdf
$ xhtml2pdf --encoding=utf-8 template.html result.pdf