Here’s what you need to do to enable Firefox immediately print without showing the print preferences dialog box.
-
Type about:config at Firefox’s location bar and hit Enter.
-
Right click at anywhere on the page and select New > Boolean
-
Enter the preference name as print.always_print_silent and click OK.
I found that somewhere and it helped me