Hi,
I'm using a admin panel with Twitter Bootstrap 3, and my pdfs are getting the responsible styles. I was looking for this option (--viewport-size) on the wkhtmltopdf docs, but there aren't any examples.
Is it possible to use this option with Snappy? Or there is other way to fix the Bootstrap display styles?
Thanks
Nevermind, I was just using wrong the "setOption" of the wrapper.
It's just return PDF::loadFile('http://site.com')->setOption('viewport-size', '1366x1024' )->stream('file.pdf');
:D
Thanks!
@vitorarjol This helped me solve a problem ive been dealing with for several hours :D
Cheers mate!
That's great @surgiie \o
Most helpful comment
Nevermind, I was just using wrong the "setOption" of the wrapper.
It's just return PDF::loadFile('http://site.com')->setOption('viewport-size', '1366x1024' )->stream('file.pdf');
:D