Can anyone help me to add a footer in pdf generation using headless chrome??
I used headless chrome which generates pdf from HTML file. This process happens in the background of laravel.
Every thing works fine but don't know how to add custom footer with page number.
use this command for headless chrome 'google-chrome --headless --disable-gpu --print-to-pdf-no-header --no-sandbox --print-to-pdf='.$pdfFilePath.$pdfFile.' '.$pdfUrl;'