On my html page, I have a button with an onClick function window.print().
When users press this button (in Chrome) it opens the default printer interface but in the header of the page and in the footer there are some excessive information.
In header, it prints out date and index.html as the name of the html file. In footer it prints the location of index.html file on my computer (C:://...).
How to disable this and print the page as it is presented in the browser?