When attempting to utilize the Window.print()
function, I encountered an issue where it works perfectly in Google Chrome but not in Mozilla Firefox. Attached are screenshots displaying the problem at hand. What could be causing this discrepancy? Furthermore, how can I remove the default header and footer from the printed page in Firefox while maintaining the desired functionality seen in Chrome?
Here is the HTML view of the report on the web:
View when printing in Mozilla Firefox: