title: JavaScript print preview
body: <p>How can I see print preview of my invoice generated from website. If I print with the script</p>
  
  <pre><code>&lt;a href="javascript:window.print()"&gt;print this page&lt;/a&gt;
  </code></pre>
  
  <p>in the print "print this page" also printed. How can I hide it?</p>