Created
March 7, 2013 15:21
-
-
Save Apkawa/5108770 to your computer and use it in GitHub Desktop.
Way install headless X server and generate pdf from html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% sudo aptitude install xvfb wkhtmltopdf | |
% xvfb-run wkhtmltopdf test.html test.pdf | |
# http://stackoverflow.com/questions/13215120/how-do-i-make-python-qt-and-webkit-work-on-a-headless-server |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment