LWN.net Logo

Command-line publishing with Easybook

Command-line publishing with Easybook

Posted Jul 26, 2012 20:00 UTC (Thu) by jimparis (subscriber, #38647)
In reply to: Command-line publishing with Easybook by gidoca
Parent article: Command-line publishing with Easybook

I've been pretty happy with the webkit-based wkhtmltopdf. It does require an X11 server, but that doesn't mean you need a real display; I use Debian's xvfb-run wrapper to automatically run it inside xvfb. You can also build wkhtmltopdf against a custom-patched version of QT, which adds a bunch of features, including a fully X11-free workflow. There are some issues in areas like page breaks (which can be somewhat controlled with CSS), but overall it's decent. I use it to generate PDF invoices for a Ruby on Rails based webstore.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds