wch / webshot

Take screenshots of web pages from R
http://wch.github.io/webshot/
227 stars 40 forks source link

Split the output pdf into multiple pages #66

Open abhijithchirappadan opened 6 years ago

abhijithchirappadan commented 6 years ago

Currently the output rendered to a PDF is a single file. This means if we try to print the output it will shrink the size in order to fit in one page. Please see the webshot of the page https://github.com/wch/webshot/.

webshot.pdf

It will be great if there is a feature to split the file into multiple pages

wch commented 6 years ago

For future reference, here are some examples for setting page size:

https://aboullaite.me/phantomjs-generate-pixel-perfect-pdf-reports/ https://blog.theodo.fr/2016/11/how-to-generate-pixel-perfect-pdfs/