为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

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/