title: js window.open then print()
body: <p>print() doesn't work in IE after opening a new window.  It works in Chrome.
  Here's a <a href="http://www.w3schools.com/js/tryit.asp?filename=try_win_focus">tester</a>:</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript"&gt;
    function openWin()
    {
      myWindow=window.open('','','width=200,height=100');
      myWindow.document.write("&lt;p&gt;This is 'myWindow'&lt;/p&gt;");
      myWindow.focus();
      myWindow.print(); //DOES NOT WORK
    }
  &lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  
  &lt;input type="button" value="Open window" onclick="openWin()" /&gt;
  
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>