Print A Web Page Automatically Using Firefox
A user can set a preference to print without dialog box.
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>
NOTE: THIS DOES NOT AFFECT WHAT HAPPENS WHEN A USER JUST HITS THE PRINT BUTTON. ONLY WHEN YOUR HTML CODE CALLS THE JAVACRIPT PRINT COMMAND.