I am using Firefox 11 and I am unable to print web pages. I can print PDFs ok. I tried to open the prefs.js file to delete anything that starts with print and I get an error message.
I cannot print web pages. I've tried the solutions suggested like deleting anything that starts with print in the prefs.js file but I get an error message: Script: c:\users\rick\appdata\roading\mozilla\firefox\profiles\iviwh5c1.default\prefs.js line: 1 Char: 1 Error: invalid character code: 800A03F6 Source: Microsoft JScript compilation error
Have you looked at the Knowledge Base article Fix printing problems in Firefox? There is some good troubleshooting information in there. I would suggest that you try resetting your print settings.
Hopefully this helps!
When editing prefs.js you need to use a simple text editor program. WinXP Notepad messes up the line formatting of prefs.js, so I use Wordpad - but you need to save the edited file in a Text-Only format (Wordpad asks about that when you go to save the edited file). I never used Win7, so I don't know if that version of Notepad messes with the line formatting of prefs.js or not.
Another thing - make sure "Hide extensions for known file types" is de-delected in Windows file / folder options > view -> advanced settings. Otherwise Windows may add a .txt file extension that you won't be able to see, and that will break that file in Firefox. prefs.js.txt won't be recognized by Firefox, when is expecting to find prefs.js .
I tried your solution Matt, that didn't work. I have yet to work your solution, the-edmeister, but I'm going to. Thanks