2006-12-27

Firefox: An unknown error occurred while printing

Update 2009-03-30: Here is a more reliable (but slightly more severe) way to work around this problem.

Have you ever tried to print something from Firefox and gotten an error message telling you that an unknown error occurred while printing? I have, and I know at least a few other people have had this problem. Apparently, this is an old bug, and the-edmeister has the fix:

type about:config in the URL bar and hit Enter
Preference name = print.print_printer
Right-Click that preference and select Reset, then restart Firefox.
See if Firefox is printing any better.

I usually can print one document after that, and I have to do it again to print another document. This solution is far from perfect, but it's good enough for now.

23 comments:

Anonymous said...

It works for me without restarting firefox, thanx

Anonymous said...

It worked!
No restart required.
Thanks.

shri said...

Thx allot buddy , worked for me too.

shridhar

Anonymous said...

Mate, you're an absolute star. Worked first time. No restart required! Thanks again!

Anonymous said...

Richard, you are the Man!! Thanks for your help.

Anonymous said...

Didn't work. Tried restarting first, too.

tucker said...

Thanks mate! Worked straight away without restarting!

Anonymous said...

Worked like a charm. Thanks very much.

Gen said...

I only wanted a print preview, and it turned out that Firefox wanted my network printer to be turned on for that. As long as the printer's on, I get no error.

Anonymous said...

At some point firefox started giving me this error and searching mostly returned people suggesting to reset the default printer by resetting print.print_printer in about:config. I tried this numerous times and it never helped. I just got annoyed enough to try reinstallig firefox. Both MozBackup and FEBE work great for backing up your profile.

I reinstalled Firefox and tried printing and it worked without error. I then restored my profile and the error came back. Then I selectively removed print.* settings by editing my prefs.js file. It turns out somehow print.printer_\\\\PRINTERNAME.print_paper_data was set to 0 which I believe is an invalid value. I noted that the default setting was 1 from a new install and now I can cause the error at will by changing this value back and forth.

So this is another possible way to fix the error. Also I now have a better idea how to troubleshoot prefs.js problems in the future. Just make sure you have a backup copy before you start deleting stuff.

Anonymous said...

I was having the same problem, what a pain in the neck. But, your solution worked. THANK YOU!

Anonymous said...

it worked
no restart

thanks ^_^

Carol said...

Just had the same problem...closed down and restarted Firefox and when I restarted it...I could print again....wierd...but it worked like a toggle switch...off and then on again.

FSDirect said...

You're a genius! Many thanks. I use my D5160 to print invoices and was really stuck!
Alan J
FSDirect

Anonymous said...

untill now, nothing worked. resetting in about:config: no, deleting profile with firefox.exe -P; no, reinstalling firefox: no.
I do not get the normal printoptions in the menu of the printersoftware itself, so expect this must be a .dll problem. Anyone?

Anonymous said...

update: I found that it seemed to be a naming and path problem. When I had restarted a couple of times, Suddenly the same (problem)printer appeared in the print-popup screen with a different name, and extended path. such as: \\servername\printername. This is indeed the same name in the about:config screen at print.print_printer. Apparently it must be an issue with 'finding' the printer in the network

Sprinkler Install Prof. said...

That worked for me, too. Thanks very much. I couldn't even print to a file. I was worried because I was trying to print a receipt. But I copied the URL and pasted after the restart and was still able to get the receipt.

Anonymous said...

thank you!

Ms said...

wowwwww thanks you are a genius sir!!!! :)

Anonymous said...

It it worked for me, anyone can do it! After re-starting Firefox, a minute or two may be required for the reset procedure to be finalized. I tested the browser and printer. All is well now, many thanks.

Geniac

Anonymous said...

Here is a solution that works for me. Print a document from a text editor. It doesn't even have to be a real document. Even a blank page will do. After it prints, I am able to print from Firefox again. I have no explanation why this works, but I think of it as priming the pump so to speak.

Anonymous said...

I got it working again by resetting all the PDF related settings for print.* as well as printer_ in about:config. Just resetting the print.* didn't work.

Using Acrobat 9 and Windows 8.

Anonymous said...

I only get this error message when I am trying to print Paypal
USPS shipping forms ? Deleted Adobe Reader and reinstalled as Paypal suggested but no help. Ran a system cleaner, didn't help but the computer ran faster...
Any suggestions >

LinkWithin

Related Posts with Thumbnails