搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Is there any way to utilize always_print_silent for a specified printer only?

more options

I am trying to print to a specified printer without a dialog prompt. I am aware of print.always_print_silent = true to bypass the dialog, and that does work, however I only want to bypass the dialog for a specific zebra barcode printer, as having to click PRINT for every barcode we have to print in a fast paced business environment is tedious and monotinous and just slows the whole process down.

There a numerous configs in "about.config" (i.e. prefs.js) that pertain to the printer in question and they all begin with "print.printer_Zebra__GX420t."; for example...

print.printer_Zebra__GX420t.print_bgcolor print.printer_Zebra__GX420t.print_bgimages

I tried to create a new boolean value for...

print.printer_Zebra__GX420t.always_print_silent

but that does not work for bypassing the dialog for that printer.

Any help with this is greatly appreciated. Thanks in advance.

Dave

I am trying to print to a specified printer without a dialog prompt. I am aware of print.always_print_silent = true to bypass the dialog, and that does work, however I only want to bypass the dialog for a specific zebra barcode printer, as having to click PRINT for every barcode we have to print in a fast paced business environment is tedious and monotinous and just slows the whole process down. There a numerous configs in "about.config" (i.e. prefs.js) that pertain to the printer in question and they all begin with "print.printer_Zebra__GX420t."; for example... print.printer_Zebra__GX420t.print_bgcolor print.printer_Zebra__GX420t.print_bgimages I tried to create a new boolean value for... print.printer_Zebra__GX420t.always_print_silent but that does not work for bypassing the dialog for that printer. Any help with this is greatly appreciated. Thanks in advance. Dave

由 DaveGerard 於 修改

所有回覆 (2)

more options

please upgrade your browser to Firefox 3.6.24 or Firefox 8

more options

I have never used print.always_print_silent. Prior to Firefox 3.6 I was using print.use_native_print_dialog set to false to print without the appearance of the print dialog, but that pref was removed.

See if this JSPrintSetup extension will help you.
http://jsprintsetup.mozdev.org/index.html