Linux: Convert HTML to PDF

to convert HTML to PDF on Linux, you can use wkhtmltopdf. It's based on webkit, the web browser engine used by Safari an Google Chrome.

# install
sudo apt-get install wkhtmltopdf
wkhtmltopdf my_resume.html my_resume.pdf

if you just have one single file, you can also use libreoffice.

# install libreoffice
sudo apt-get install libreoffice

Type libreoffice to start it, then, open the HTML file, then use menu 〖File ▸ Export…〗.

Popular posts from this blog

Browser User Agent Strings 2012

11 Years of Writing About Emacs

does md5 creates more randomness?