All you need to do, is set a preference up on the CLIENT BROWSER, you can’t do this through the web, you must have direct access to the local browser. If people could do this through the web, every porn popup in the world would come streaming through the printer.
Go to about:config (Type this in the address bar)
Right click on any preference and select “NEW” > “BOOLEAN” IMPORTANT: DO NOT SELECT STRING or NUMERIC as this will not work if you are an idiot (like me) and select “STRING”
<a href=”#” OnClick=”window.print();”>PRINT THIS WINDOW</a>
I hope that this helps someone else, as we had much trouble tracking this down. The following are key words to help the next guy find this:
mozilla silent printing
printing without dialog box
taken from mozila forums