Very interesting (especially for when we do have lots of tables and colors, which I do happen to have a lot :-) ). Now, is it working on Linux? Phil On Fri, Dec 19, 2014 at 10:47 AM, Torsten Bergmann <astares@gmx.de> wrote:
Need an easy way to convert HTML into PDF for printing? The project http://wkhtmltopdf.org can help you here.
If you want to use it from Pharo just check out:
http://smalltalkhub.com/#!/~TorstenBergmann/WKHTML2PDF
This project allows you to easily use the library. First select the engine:
HTML2PDFConverter useExecutable.
or
HTML2PDFConverter useLibrary.
and then convert:
HTML2PDFConverter convert: 'http://www.pharo.org' toFile: 'pharo.pdf'
to get a printable version of the Pharo homepage. As ever docu is on the STHub project website.
It uses NativeBoost to call the library and OSProcess to call the executable.
Bye T.