You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Question - How to control PDF page margins when using ->export('pdf')
Package version - 2.0, Laravel version- 5.1(using laravel-dompdf version 0.6)
Expected behaviour - Expect the PDF to follow the page margin settings of Laravel-Excel
Actual behaviour - PDF exports via Laravel-Excel (->export('pdf')) do not use Laravel-Excel page margins parameters
The PDF export functionality works great except that I can't set/control the page margins. Is there anyway to set the PDF page margins from within the Laravel-Excel methods? I can control the PDF margins when creating a PDF directly, without Laravel-Excel, but in many cases we use the Laravel-Excel to create the desired output and then simply export it to a PDF as that seems to be the users preference (as opposed to as CSV or Excel sheet).
The text was updated successfully, but these errors were encountered:
Question - How to control PDF page margins when using ->export('pdf')
Package version - 2.0, Laravel version- 5.1(using laravel-dompdf version 0.6)
Expected behaviour - Expect the PDF to follow the page margin settings of Laravel-Excel
Actual behaviour - PDF exports via Laravel-Excel (->export('pdf')) do not use Laravel-Excel page margins parameters
The PDF export functionality works great except that I can't set/control the page margins. Is there anyway to set the PDF page margins from within the Laravel-Excel methods? I can control the PDF margins when creating a PDF directly, without Laravel-Excel, but in many cases we use the Laravel-Excel to create the desired output and then simply export it to a PDF as that seems to be the users preference (as opposed to as CSV or Excel sheet).
The text was updated successfully, but these errors were encountered: