title: Printing external URL without opening new tab
body: <p>I'm trying to popup the browser print option for an external URL without opening it in a new tab.</p>
  
  <pre><code> &lt;a href="##" onclick="printBGReport();" align="center"&gt;Print Report&lt;/a&gt; &lt;br/&gt;
    &lt;script&gt;
      function printBGReport(){
          var W = window.open(document.getElementById('reportBGID').src);
          W.window.print();            
      }
    &lt;/script&gt;
  </code></pre>
  
  <p>This code is working fine; however, it opens a new tab with the print option. Also, if I use chrome my current tab dies after opening the new one.</p>