Ok thanks, that could have occurred to me! Thanks for bearing with me!

Bjoern


On 22 November 2013 13:55, Emmanuel Engelhart <kelson@kiwix.org> wrote:
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