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.
21 comments:
It works for me without restarting firefox, thanx
It worked!
No restart required.
Thanks.
Thx allot buddy , worked for me too.
shridhar
Mate, you're an absolute star. Worked first time. No restart required! Thanks again!
Richard, you are the Man!! Thanks for your help.
Didn't work. Tried restarting first, too.
Thanks mate! Worked straight away without restarting!
Worked like a charm. Thanks very much.
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.
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.
I was having the same problem, what a pain in the neck. But, your solution worked. THANK YOU!
it worked
no restart
thanks ^_^
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.
You're a genius! Many thanks. I use my D5160 to print invoices and was really stuck!
Alan J
FSDirect
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?
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
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.
thank you!
wowwwww thanks you are a genius sir!!!! :)
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
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.
Post a Comment