title: How do I programmatically call the "Print Preview" screen using Javascript or Jquery?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/230205/how-can-print-preview-be-called-from-javascript">How can Print Preview be called from Javascript?</a>  </p>
  </blockquote>
  
  
  
  <p>I have a button on the screen which should call a JavaScript function. </p>
  
  <pre><code>&lt;input class="btn-print" type="button" value="Print" onclick="PrintPreview()"&gt;
  </code></pre>
  
  <p>This should open a new window with the Print Preview screen, just as you would if you went to File>Print>Print Preview in FF.
  File>Print Preview in IE.</p>