Open window.print() in a new window
<p>I'm currently configuring a print button for a website I'm working on. The print button use the window.print() function with the onclick event. It's working correctly but it opens the print in the same window and I would like to open it in a new window instead.</p>

<p>I've tried with a target="_blank" but with the same result.</p>

<pre><code>&lt;a href="javascript:" onclick="javascript: window.print();" target="_blank"&gt;
    &lt;img src="/resources/images/skins/icisherbrooke/b-imprimer.jpg" width="64" height="12" border="0" /&gt;
&lt;/a&gt;
</code></pre>

<p>Is there another way than target to open the print window in a new window?</p>

<p>Thanks.</p>
