{{-- One A4 page: before printing (and on load) the content is measured and, if taller than the page, shrunk just enough to fit. Include once, at the end of a print view: ['fitTarget' => '#print-content']. Margins 8 mm; portrait unless 'fitLandscape' => true. --}} @php $fitTarget = $fitTarget ?? '#print-content'; $landscape = $fitLandscape ?? false; @endphp