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/WKHTML2PDFThis 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.