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

Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

How do I set Firefox's default printer?

  • 4 wótegrona
  • 0 ma toś ten problem
  • 34 naglědow
  • Slědne wótegrono wót 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.

Wubrane rozwězanje

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.

Toś to wótegrono w konteksće cytaś 👍 0

Wšykne wótegrona (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?

Wužytny?

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).

Wužytny?

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

Wužytny?

more options

Wubrane rozwězanje

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.

Wužytny?

Stajśo pšašanje

Musyśo se pla swójogo konta pśizjawiś, aby na pśinoski wótegronił. Pšosym stajśo pšašanje, jolic hyšći njamaśo wužywaŕske konto.