Jonathan Thuau

Results 88 comments of Jonathan Thuau

What value did you change in the config ?

Hi. You can check these links : http://ibmphp.blogspot.fr/2012/11/dompdf-every-page-with-header-and-footer.html http://www.digitaljunkies.ca/dompdf/faq.php#footers

Maybe by adding a margin to your body ?

Hi. You can try this : ``` php Route::get('pdf-from-view', function() { $data = array(); $html = View::make('my-view', $data); return PDF::load($html, 'A4', 'portrait')->show(); }); ```

You can generate your view with your data and print it. ``` php Route::get('pdf-from-view', function() { $data = array(); $html = View::make('my-view', $data); return PDF::load($html, 'A4', 'portrait')->show(); }); ```

In the routes or in a controller the result is the same. I can't help you with only this error. You should print your datas and/or view to check problems.

You can remove the code it's in the mail ;)

If you only return your view everything work ?

Can you send me the stack trace ?

When you have the error. At least a screenshot.