barryvdh / laravel-snappy

Laravel Snappy PDF
MIT License
2.63k stars 290 forks source link

Any work around with Jspreadsheet V4 pdf export ? #478

Closed Anglin-George closed 2 years ago

Anglin-George commented 2 years ago

$pdf = App::make('snappy.pdf.wrapper'); $pdf->loadView('exportReport', $data) ->setPaper('a4') ->setOption('viewport-size', '1280x1024') ->setOption('enable-javascript', true) ->setOption('javascript-delay', 5000) ->setOption('enable-smart-shrinking', true) ->setOption('no-stop-slow-scripts', true) ->setOption('debug-javascript', true) ->setOption('footer-left', 'Report name') ->setOption('footer-right', '[page] / [toPage]') ->setOption('footer-font-size', 6) ->setOption('encoding', "UTF-8") ->setOption('no-background', true); return $pdf->inline($filename); I tried every options regarding with JS integration with Snappy. But yet it is not in working . Any Help much appreciated. Thanks in advance.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Any issues with PDF rendering itself that are not directly related to this package, should be reported on https://github.com/KnpLabs/snappy instead. When having doubts, please try to reproduce the issue with just snappy. If you believe this is an actual issue with the latest version of laravel-snappy, please reply to this issue so we can investigate further. Thank you for your contribution! Apologies for any delayed response on our side.