title: Fake the src of an iframe for printing to avoid "about:blank"
body: <p>I'm creating a hidden iframe specifically to be used for printing in IE6.</p>
  
  <p>Here's a basic outline of the code with some HTML population cut out:</p>
  
  <pre><code>$('body').append('&lt;iframe id="printIFrame"&gt;&lt;/iframe&gt;');
  
  $("iframe#printIFrame").attr('style','position:absolute;width:0px;height:0px;left:-500px;top:-500px;');
  
  $("iframe#printIFrame").load(function()
  {
      document.getElementById("printIFrame").contentWindow.document.title = "My Title";
  
      var iframe = document.getElementById("printIFrame");
      iframe.contentWindow.focus();
      iframe.contentWindow.print();
  
      $("iframe#printIFrame").remove();
  });
  </code></pre>
  
  <p>This is working quite well, except for the ugly "about:blank" that shows at the bottom left hand of each printed page. I guess since I'm making this iframe on the fly the source (as IE6 sees it) is about:blank. Is there any way to fake the src or change what gets printed there? I tried setting the src right before printing, but obviously that changes the iframe to a new page and prints that. Any ideas?</p>