I'm trying to popup the browser print option for an external URL without opening it in a new tab.
<a href="##" onclick="printBGReport();" align="center">Print Report</a> <br/>
<script>
function printBGReport(){
var W = window.open(document.getElementById('reportBGID').src);
W.window.print();
}
</script>
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.