X
Tap here to go to the mobile version of the site.

Support Forum

Why doesn't printing use the default printer?

Posted

This bug has been here for ages and having to do periodic resets using about:config every time it goes pair shaped is a bloody annoying time waster. Could someone spend 5 minutes to fix it so it works like every other windows program in the universe that accesses a printer???

This bug has been here for ages and having to do periodic resets using about:config every time it goes pair shaped is a bloody annoying time waster. Could someone spend 5 minutes to fix it so it works like every other windows program in the universe that accesses a printer???

Chosen solution

Do you mean my workaround doesn't work for you?

Read this answer in context 1
Quote

Additional System Details

Installed Plug-ins

  • Shockwave Flash 32.0 r0

Application

  • User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:67.0) Gecko/20100101 Firefox/67.0

More Information

jscher2000
  • Top 10 Contributor
8639 solutions 70667 answers

Normally Firefox re-uses the last printer you print to in Firefox. Is that what your Firefox doing? I don't know whether anyone has posted a workaround for that in a previous thread, i.e., forcing Firefox to always return to the same printer. I can't recall seeing one.

Here is a method that will lock all instances of Firefox to a single printer. You will be able to override it on a case-by-case basis, but Firefox won't retain that modification. This uses the "Autoconfig" file method documented in the following article:

Customizing Firefox Using AutoConfig

To set this up, you will create two files. Note: This assumes you do not already have any Autoconfig file set up. If you do, you simply need to add the lockPref() line below to your existing File #2.

File #1:

Contents:

pref("general.config.filename", "firefox.cfg");
pref("general.config.obscure_value", 0);

Name this something like autoconfig.js (make sure Windows doesn't add .txt to the file name)

Save location, either:

  • C:\Program Files\Mozilla Firefox\defaults\pref
  • C:\Program Files (x86)\Mozilla Firefox\defaults\pref

File #2:

Contents (replace PrinterName with what appears for this preference in about:config after using your default printer):

// IMPORTANT: Start your code on the 2nd line
lockPref("print_printer", "PrinterName");

Name this file firefox.cfg (make sure Windows doesn't add .txt to the file name)

Save location, either:

  • C:\Program Files\Mozilla Firefox
  • C:\Program Files (x86)\Mozilla Firefox

Firefox should pick up on that after its next shut down/restart.

Normally Firefox re-uses the last printer you print to ''in Firefox''. Is that what your Firefox doing? I don't know whether anyone has posted a workaround for that in a previous thread, i.e., forcing Firefox to always return to the same printer. I can't recall seeing one. Here is a method that will lock all instances of Firefox to a single printer. You will be able to override it on a case-by-case basis, but Firefox won't retain that modification. This uses the "Autoconfig" file method documented in the following article: [[Customizing Firefox Using AutoConfig]] To set this up, you will create two files. ''Note: This assumes you do not already have any Autoconfig file set up. If you do, you simply need to add the lockPref() line below to your existing File #2.'' '''File #1:''' Contents: <pre>pref("general.config.filename", "firefox.cfg"); pref("general.config.obscure_value", 0); </pre> Name this something like ''autoconfig.js'' (make sure Windows doesn't add .txt to the file name) Save location, either: * C:\Program Files\Mozilla Firefox\defaults\pref * C:\Program Files (x86)\Mozilla Firefox\defaults\pref '''File #2:''' Contents (replace PrinterName with what appears for this preference in about:config after using your default printer): <pre>// IMPORTANT: Start your code on the 2nd line lockPref("print_printer", ''"PrinterName"''); </pre> Name this file ''firefox.cfg'' (make sure Windows doesn't add .txt to the file name) Save location, either: * C:\Program Files\Mozilla Firefox * C:\Program Files (x86)\Mozilla Firefox Firefox should pick up on that after its next shut down/restart.
Was this helpful to you? 0
Quote

Question owner

Howdy jscher2000,

The annoyance is that I don't want browser to remember last printer. Just stick to default. In any case, when I do select the correct and default printer manually, it hardly remembers that printer anyway.

Howdy jscher2000, The annoyance is that I don't want browser to remember last printer. Just stick to default. In any case, when I do select the correct and default printer manually, it hardly remembers that printer anyway.
Was this helpful to you?
Quote
jscher2000
  • Top 10 Contributor
8639 solutions 70667 answers

Chosen Solution

Do you mean my workaround doesn't work for you?

Do you mean my workaround doesn't work for you?
Was this helpful to you? 1
Quote

Question owner

Howdy :) Not sure if the workaround works, problem, if still there takes place randomly. Also tried another trick withing config:about but as the questions states; "Why" is the big question more than anything else. Cheers for your help though. Most appreciated and added to my fix list :)

Howdy :) Not sure if the workaround works, problem, if still there takes place randomly. Also tried another trick withing config:about but as the questions states; "Why" is the big question more than anything else. Cheers for your help though. Most appreciated and added to my fix list :)
Was this helpful to you?
Quote
Ask a question

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