搜尋 Mozilla 技術支援網站

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

When trying to print a web page, all I get is a blank page showing only a header and footer

  • 15 回覆
  • 4 有這個問題
  • 5038 次檢視
  • 最近回覆由 You

more options

also, when I try to go to Page Setup is show nothing and locks up the screen

被選擇的解決方法

所有回覆 (15)

more options

Hello goveric, try to Reset all Firefox printer settings and check it again.

thank you

more options

I tried that. I copied the prefs.js file to another directory (Desktop). Deleted all the print.printer user_prefs and saved it. I closed FireFox. I re-opened FireFox and checked that the user_pref print parameters were re-established in the prefs.js program. I checked the print preview and all it showed was the header and footer and nothing in between.

more options

Here are the Print.printer user_pref steps from prefs.js

user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_bgcolor", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_bgimages", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_colorspace", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_command", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_downloadfonts", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_duplex", 1515870810); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_edge_bottom", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_edge_left", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_edge_right", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_edge_top", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_evenpages", true); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_footercenter", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_footerleft", "&PT"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_footerright", "&D"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_headercenter", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_headerleft", "&T"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_headerright", "&U"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_in_color", true); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_margin_bottom", "0.5"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_margin_left", "-1491308.125"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_margin_right", "-1491308.125"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_margin_top", "0.5"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_oddpages", true); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_orientation", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_page_delay", 50); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_data", 1); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_height", " 11.00"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_name", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_size_type", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_size_unit", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_paper_width", " 8.50"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_plex_name", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_resolution", 1515870810); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_resolution_name", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_reversed", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_scaling", " 0.90"); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_shrink_to_fit", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_to_file", false); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_to_filename", ""); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_unwriteable_margin_bottom", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_unwriteable_margin_left", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_unwriteable_margin_right", 0); user_pref("print.printer_Brother_MFC-7840W_Printer_(Copy_1).print_unwriteable_margin_top", 0);

more options

Does this happen when you try to print any page or only a specific one? It might be a problem with that page in particular if only it shows up blank when you try to print it.

more options

It happens on any page not on a particular one. Am I missing a print program or something like that?

more options

By the way, I don't know if this will help but Thunderbird messages print fine but FireFox does not ????

more options

Hi goveric, go for a clean re-install, this means you remove Firefox program files and then reinstall Firefox. Please follow these steps:

Note: You might want to print these steps or view them in another browser.

  1. Download the latest Desktop version of Firefox from https://www.mozilla.org/en-US/firefox/all/ (full installer) and save the setup file to your computer.
  2. After the download finishes, close all Firefox windows (click Exit from the Firefox or File menu).
  3. Delete the Firefox installation folder, which is located in one of these locations, by default:
    • Windows:
      • C:\Program Files\Mozilla Firefox
      • C:\Program Files (x86)\Mozilla Firefox
  4. Now, go ahead and reinstall Firefox:
    1. Double-click the downloaded installation file and go through the steps of the installation wizard.
    2. Once the wizard is finished, choose to directly open Firefox after clicking the Finish button.

More information about reinstalling Firefox can be found here.

WARNING:Do not use a third party uninstaller as part of this process. Doing so could permanently delete your Firefox profile data, including but not limited to, extensions, cache, cookies, bookmarks, personal settings and saved passwords. These cannot be easily recovered unless they have been backed up to an external device! See Back up and restore information in Firefox profiles.

thanks

more options

Using the instructions from your last reply I downloaded the Desktop version of Firefox and saved the setup file. I deleted the Firefox directory from C:\Program Files (x86) (Was it right to delete the whole Mozilla Firefox Directory?) and reinstalled Firefox from the setup file and opened Firefox. Still have the problem of nothing between the header and Footer and the computer locks up when the Print Setup option is chosen

more options

What happens when you go into Notepad or another program, type something, then click File>Print? Does the computer do the same thing, because it might have to do with your printer drivers or something.

more options

Notepad prints fine. Heck, even Mozilla Thunderbird emails print correctly. It's just Mozilla FireFox.

more options

The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your bookmarks, history, passwords, cookies, and other essential information.

Note: After resetting Firefox, you will lose any extensions, toolbar customizations, and some preferences. See the Refresh Firefox - reset add-ons and settings article for more information.

To Reset Firefox:

  1. Open the Troubleshooting Information page using one of these methods:
    • Click the menu button New Fx Menu , click help Help-29 and select Troubleshooting Information. A new tab containing your troubleshooting information should open.
    • If you're unable to access the Help menu, type about:support in your address bar to bring up the Troubleshooting Information page.
  2. At the top right corner of the page, you should see a button that says "Reset Firefox" that looks like this: Button reset . Click on it.
  3. Firefox will close and reset. After it is done, Firefox will show a window with the information that is imported.
  4. Click Finish and Firefox will reopen.

After resetting Firefox, try printing a webpage and tell me what happens.

more options

Or if you want to completely reset your profile (which means that your BOOKMARKS, SETTINGS, ADD-ONS, ETC WILL BE DELETED), follow the instructions below.

How to COMPLETELY Reset Your Firefox Profile.

  1. Close Firefox.
    • If you are reading this in Firefox right now, you should open this page in a different browser to continue reading.
  2. Open the Run Dialog. Press the Windows Key+R simultaneously on your keyboard to do so.
  3. Open Firefox Profiles Manager. In the Run dialog, type firefox.exe -p and click OK.
  4. Delete your profile. In Firefox Profiles Manager, click the profile called Default (Depending on what you've set your profile's name to. If you haven't ever touched the Firefox Profiles Manager, it should be Default.) Click the Delete Profile... button.
  5. Create a new profile. Click the Create Profile... button and follow the wizard.
  6. Start Firefox.
    • Firefox has now been completely reset to what it was like before.
  7. Now, try printing a webpage.
    • If printing a page works, there was something wrong with your old profile.
    • If printing a page still does not work, there is something else going on that isn't related to the profile.
more options

Completely resetting your profile is more thorough.

由 You 於 修改

more options

Wow! After several different attempts to solve my printing problems , the one that worked was the suggestion that I hit "Reset Firefox" button on the Troubleshooting Information page. Once I did that and got back in I was able to print pages correctly. Thank you for all your help and patience. -Eric

more options

選擇的解決方法

You're welcome!