title: How to print content of iframe without opening windows popup
body: <p>In my app, I want to print a PDF file that resides in iframe. Here is my code ..</p>
  
  <pre><code>&lt;iframe src="pdf/output.pdf" id="pdfFrame"&gt;&lt;/iframe&gt;
  </code></pre>
  
  <p>And here is the script to print the pdf..</p>
  
  <pre><code>document.getElementById("pdfFrame").focus();
  document.getElementById("pdfFrame").contentWindow.print();
  </code></pre>
  
  <p>The code above  works fine but It opens a windows popup before printing. But as per my requirement I want direct laser print without opening the popup.</p>
  
  <p>Is there  any way to do this ???</p>