remove printed header and footer
Bigben83 opened this issue · 2 comments
Bigben83 commented
is there some argument that can be added to remove the printed header and footer information on the pdf, like the date at the top and the url at the bottom.
Vimalsumanthran commented
Got any solution?
romain-le-mercier commented
Up, would be nice to have.
EDIT : Found the solution, add this in your css :
@page { margin: 0; size: auto; }
Credit & source :
https://support.google.com/chrome/forum/AAAAP1KN0B0LBMUDtGqr-0/?hl=fa
https://stackoverflow.com/questions/44575628/alter-the-default-header-footer-when-printing-to-pdf