Is here a way to disable the print dialog box?
I am trying to disable the print dialog box so that a page can print directly from a javascript "print" command. How can I disable the print dialog box so that it will print automatically?
所有回复 (4)
For computers under your control?
Or, any computer that is using your application or webpage?
For just my computer
You can try creating a new boolean preference - print.use_native_print_dialog - and set it to false and see it that still works. That pref was removed from about:config a number of versions ago, but the underlying code might still be present, so give it a try.
Didn't work. It looks like this is a Mac issue, not Firefox.