javascript print without print dialog box
<p>The below snippet working fine,  but it opening the dialog box window, </p>

<p>but i dont want to open the print dialog box , </p>

<p>just print should done without dialog box, </p>

<p>what snippet i should add in the below snippet ,</p>

<p>And also one doubt, i want to take print out in DOT Matrix Printer, the below  snippet will work know ?</p>

<pre><code>var prtContent = document.getElementById(strid);
var WinPrint =
window.open('','','left=0,top=0');
WinPrint.document.write(prtContent.innerHTML);
WinPrint.document.close();
WinPrint.focus();
WinPrint.print();
WinPrint.close();
prtContent.innerHTML=strOldOne;
</code></pre>

<p>i developed the billing application , </p>

<p>If i show the print dialog box, then it consume some seconds to give the print , see i done have more printer, 
i have only one printer ,that is dot matrix, when ever i give print command , then it should print the BILL without open the print dialog box, </p>
