title: JavaScript window.print() function with excessive details
body: <p>On my html page, I have a button with an onClick function <code>window.print().</code></p>
  
  <p>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.</p>
  
  <p>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:://...).</p>
  
  <p>How to disable this and print the page as it is presented in the browser?</p>