Le 22/11/2013 14:51, Bjoern Hassler a écrit :
I've tried this out on Raspberry Pi, and indeed
the output is a proper pdf.
Nice.
Do you have any thoughts as to why the paper size
comes out as 10cm by
77cm?
I don't know phantomjs in detail, but if you have a look to the code,
you can see that the output size seems to be customisable:
https://github.com/ariya/phantomjs/blob/master/examples/rasterize.js
Emmanuel
--
Kiwix - Wikipedia Offline & more
* Web:
http://www.kiwix.org
* Twitter:
https://twitter.com/KiwixOffline
* more:
http://www.kiwix.org/wiki/Communication