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

Mozilla サポートの検索

サポート詐欺に注意してください。 私たちはあなたに通話やショートメッセージの送信、個人情報の共有を求めることはありません。疑わしい行為を見つけたら「迷惑行為を報告」からご報告ください。

詳しく学ぶ

How do I set Firefox's default printer?

  • 4 件の返信
  • 0 人がこの問題に困っています
  • 37 回表示
  • 最後の返信者: 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.

選ばれた解決策

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.

この回答をすべて読む 👍 0

すべての返信 (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?

役に立ちましたか?

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

役に立ちましたか?

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

役に立ちましたか?

more options

選ばれた解決策

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.

役に立ちましたか?

質問する

投稿に返信するには あなたのアカウントにログイン する必要があります。まだアカウントをお持ちでなければ、新しい質問を開始 してください。