搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Printing from Firefox set to Portrait but prints in Landscape.

more options

Every time I print from Firefox, the page prints out in Landscape even though all the settings show it's set to print in Portrait. When I click "Print Preview" it shows a preview of the page in Portrait, the "Portrait" box is checked, scale is "Shrink to Fit". When I click on "Page Setup", the bubble next to "Portrait" is selected in the orientation section. Everything I can see seems to show that the page will print in Portrait, yet when it comes off the printer it's in Landscape. Every single time. This has been going on for at least six months, so it doesn't seem to have anything to do with the version of Firefox as Firefox has updated many times since this began (current version is 65.0.2).

The problem is limited to Firefox. Downloaded PDF's print in Portrait and if I copy/paste a page into Internet Explorer and print from IE, the page will print in Portrait. Which leads me to believe it's not an issue with my printer drivers.

I've tried all of the suggestions I found in the "Fixing printing problems in Firefox" article. Checked Firefox printer settings, reset Firefox print settings and reset all Firefox printer settings. After restarting Firefox, and my laptop, I'm still having the same problem. Firefox will only print in Landscape. Other than uninstalling/reinstalling Firefox, or going to another browser every time I need to print something, I don't know what else to do.

If anyone has any suggestions I would greatly appreciate the help! Thanks!

Every time I print from Firefox, the page prints out in Landscape even though all the settings show it's set to print in Portrait. When I click "Print Preview" it shows a preview of the page in Portrait, the "Portrait" box is checked, scale is "Shrink to Fit". When I click on "Page Setup", the bubble next to "Portrait" is selected in the orientation section. Everything I can see seems to show that the page will print in Portrait, yet when it comes off the printer it's in Landscape. Every single time. This has been going on for at least six months, so it doesn't seem to have anything to do with the version of Firefox as Firefox has updated many times since this began (current version is 65.0.2). The problem is limited to Firefox. Downloaded PDF's print in Portrait and if I copy/paste a page into Internet Explorer and print from IE, the page will print in Portrait. Which leads me to believe it's not an issue with my printer drivers. I've tried all of the suggestions I found in the "Fixing printing problems in Firefox" article. Checked Firefox printer settings, reset Firefox print settings and reset all Firefox printer settings. After restarting Firefox, and my laptop, I'm still having the same problem. Firefox will only print in Landscape. Other than uninstalling/reinstalling Firefox, or going to another browser every time I need to print something, I don't know what else to do. If anyone has any suggestions I would greatly appreciate the help! Thanks!

所有回覆 (7)

more options

This is a very strange problem!

If you click the Properties button for your printer in the Print dialog (Ctrl+p), does the printer driver itself have "Landscape" selected? (Firefox should be able to override it, but...)

more options

Nope, I checked that too. In printer properties the orientation is set as "Portrait". It really doesn't make any sense. Printing from any other program, the orientation prints correctly. The issue is in Firefox only. I'm honestly not sure I'd believe it if someone was describing the problem to me...so I feel really weird asking for help with it! But I've done everything I can think of with troubleshooting and haven't found a fix.

more options

Did you do a Print Preview first?

more options

Yes. In Print Preview it shows that it's in Portrait (Portrait is selected and the Print Preview image is in Portrait).

Out of curiosity and for laughs I just tried changing it to Landscape to see if it would print in Portrait. It did, kind of. It printed in Portrait on the paper but was still laid out like it thought it was in Landscape so most of the text got cut off. Something in Firefox seems to have Portrait and Landscape confused. The troubleshooting thing of deleting all the "printer_" lines from my "prefs.js", didn't help (I tried that before posting my question).

more options

Solution Found! I had this problem many versions of Firefox (Nightly) ago, and it recently reappeared. I re-located the solution. Open a new tab in FF, and use "about:config" as an address. Accept the risk of "Here Be Dragons." In the search bar, search for "print". This will bring up all the lines that have "print" in their entry names. Scroll down, and look for lines that are specific to your printer. My lines appear (in Bold!) as print.printer_<Brandname>_<Modelname>_Printer.<option>. The line that was in error was print.printer_<Brandname>_<Modelname>_Printer.print_paper_data. It's an integer, and its value was set to 256. Reset it to a value of 1. Close everything and restart the browser. Now try printing again.

more options

It doesn't help me. Also, I get my printouts at a huge scale and much or most of pages aren't printed at all. Any tips & tricks?

more options

Hi Lennart, are you Windows, Mac, or Linux?

If you check the Page Setup dialog, do you have an extreme scale? Usually it's 100% + Shrink to Fit. You can call that up from the File menu; on Windows, tap the Alt key to activate the File menu if you don't normally show the menu bar.

The problem of missing pages occurs on a lot of websites. It can be caused by certain style rules that Firefox views as creating an "unbreakable" block of context. When you spot that problem in Print Preview, you can use my add-on to make those sections breakable.

https://addons.mozilla.org/firefox/addon/printable-the-print-doctor/