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
I'm encountering an issue with wkhtmltopdf version 0.12.6 where the footer is not rendering in generated PDF.
I am trying both way using "view" and the simple way "footer-center"
Code is given below.
wkhtmltopdf --version
wkhtmltopdf 0.12.6
I'm encountering an issue with wkhtmltopdf version 0.12.6 where the footer is not rendering in generated PDF.
I am trying both way using "view" and the simple way "footer-center"
Code is given below.
`$mainhtml = view('web.digital_quote.generate-pdf', compact('data'))->render();
// $footerhtml = view('web.digital_quote.pdf-footer')->render();
$footerhtml = '
$pdf = PDF::loadHTML($mainhtml)
->setPaper('a4')
->setOption('footer-center', $footerhtml);
$pdfName = 'digital_quote_.pdf';
return $pdf->stream($pdfName);
`
The text was updated successfully, but these errors were encountered: