Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $pdf = PDF::loadView($html)->setPaper('a4')->setOrientation('landscape')->setOption('margin-bottom', 0);
- // now u can use $pdf->output() in response, instead of $pdf->save()
Advertisement
Add Comment
Please, Sign In to add comment