Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Hilfe durchsuchen

Vorsicht vor Support-Betrug: Wir fordern Sie niemals auf, eine Telefonnummer anzurufen, eine SMS an eine Telefonnummer zu senden oder persönliche Daten preiszugeben. Bitte melden Sie verdächtige Aktivitäten über die Funktion „Missbrauch melden“.

Weitere Informationen

Silent Print

more options

My understanding is when silent print is enabled by print.always_print_silent, browser will take default printer.here default printer value get from print_printer. if print_printer value is empty , it will take from system default printer. so if i change the default printer dynamically , browser will automatically detects the printer. Am I right?

My understanding is when silent print is enabled by''' print.always_print_silent''', browser will take default printer.here default printer value get from '''print_printer'''. if print_printer value is empty , it will take from system default printer. so if i change the default printer dynamically , browser will automatically detects the printer. Am I right?

Alle Antworten (1)

more options

The first time you print, Firefox will save the printer that was used to print_printer, even if you have print.always_print_silent set. After that point, Firefox will use the printer saved to print_printer, not the system default printer. The only way you can prevent Firefox saving the printer name to print_printer is to set print.save_print_settings to false, but that will prevent Firefox saving any print settings, not just print_printer.

It is possible that you can get Firefox to do what you want (it's not clear exactly what you want, though) by printing once without print.always_print_silent set (to get Firefox to store most print settings), then remove print_printer, set print.always_print_silent = true and print.save_print_settings = false. It may then use the system default printer but still pick up useful print defaults from the rest of the saved prefs. However, I have not tested whether this works. It also has the risk that some of the print settings that have been saved to prefs are not actually valid with the new system default printer.