Windows 10 will reach EOS (end of support) on October 14, 2025. For more information, see this article.

Cerca nel supporto

Attenzione alle mail truffa. Mozilla non chiederà mai di chiamare o mandare messaggi a un numero di telefono o di inviare dati personali. Segnalare qualsiasi attività sospetta utilizzando l'opzione “Segnala abuso”.

Ulteriori informazioni

How do I set Firefox's default printer?

  • 4 risposte
  • 0 hanno questo problema
  • 37 visualizzazioni
  • Ultima risposta di vesf

more options

I have these printers.

"HP LaserJet M109-M112" (the Windows default) "HP LaserJet 1020"

Regardless of the value of print.sav_print_settings, the first print dialog after starting Firefox shows "HP LaserJet 1020".

If I manually put "HP LaserJet M109-M112" (no quotes) in print_printer, it reverts to "HP LaserJet 1020" the next time Firefox starts.

How do I make "HP LaserJet M109-M112" Firefox's default? Thanks.

I have these printers. "HP LaserJet M109-M112" (the Windows default) "HP LaserJet 1020" Regardless of the value of print.sav_print_settings, the first print dialog after starting Firefox shows "HP LaserJet 1020". If I manually put "HP LaserJet M109-M112" (no quotes) in print_printer, it reverts to "HP LaserJet 1020" the next time Firefox starts. How do I make "HP LaserJet M109-M112" Firefox's default? Thanks.

Soluzione scelta

Problem solved! But first, to answer my last question ... because the printer was specified in user.js.

I vaguely remember doing that (3+ years ago) because Firefox was remembering "Microsoft XPS Document Writer" which I use very seldom; that was annoying me. So I changed the user.js specification.

Is there a way, other than a manual edit, to get/change what's in user.js?

Thanks.

Leggere questa risposta nel contesto 👍 0

Tutte le risposte (4)

more options

For me, when I click File -> Print, I get a Print Preview dialog with a Destination drop-down on the top-right. Whatever I pick here to print with, it seems to keep whatever I last printed with as the currently selected choice.

Do you see both printers in this drop-down?

È stato utile?

more options

Yes, they're both in the dropdown. If I select the desired printer my selection persists until Firefox is terminated. When I start Firefox again it's back to HP LaserJet 1020 (which is not the Windows default printer, and not desired).

È stato utile?

more options

Why does Firefox keep using that printer at startup when ...

1. It is not the last printer used 2. It is not the Windows default printer 3. It is not the first (of the two) returned by the EnumPrinters() API

È stato utile?

more options

Soluzione scelta

Problem solved! But first, to answer my last question ... because the printer was specified in user.js.

I vaguely remember doing that (3+ years ago) because Firefox was remembering "Microsoft XPS Document Writer" which I use very seldom; that was annoying me. So I changed the user.js specification.

Is there a way, other than a manual edit, to get/change what's in user.js?

Thanks.

È stato utile?

Richiedi supporto

Bisogna accedere al proprio account per rispondere nelle discussioni. Se non si possiede ancora un account, inserire una nuova richiesta.