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

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

How do I set Firefox's default printer?

  • 4 ŋuɖoɖowo
  • 0 masɔmasɔ sia le wosi
  • 35 views
  • Nuɖoɖo mlɔetɔ 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.

Ŋuɖoɖo si wotia

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.

Xle ŋuɖoɖo sia le goya me 👍 0

All Replies (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?

Helpful?

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

Helpful?

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

Helpful?

more options

Ɖɔɖɔɖo si wotia

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.

Helpful?

Bia biabia

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.