Open sheep5250 opened 2 years ago
@sheep5250 Have you tried these? https://stackoverflow.com/questions/8228088/remove-header-and-footer-from-window-print
I used the code below to remove it from Chrome
printJS({
printable: url,
type: type,
style: @media print { @page { margin: 0; } body { margin: 1.6cm; } }
,
});
style: @page {size: auto;margin:0 0mm;}
When I don't want to print headers and footers, I used "style:'@page{margin:7mm 7mm}'. But some computers can work and some computers can't