Printing an HTML table with lots of content has been a challenge for me. Google Chrome didn't work, so I switched to Mozilla Firefox. However, now Firefox is breaking the page inside the table. My question is how can I trigger print preview in Firefox using Javascript (calling window.print();
doesn't show print preview).
https://i.sstatic.net/09FA3.png
I noticed that Mozilla automatically sets header and footer, but is there a way to customize the header for printing? Or perhaps disable it by default when users click the print button.