搜尋 Mozilla 技術支援網站

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

了解更多

Firefox does not print the right edge of landscape orientated web pages

  • 4 回覆
  • 1 有這個問題
  • 1 次檢視
  • 最近回覆由 Mike109

more options

Firefox does not print the right edge of web pages that are made in landscape mode.

I set FF to "Fit to page width" but it does not print the right edge. It's cut off.

And there is no Orientation option available. Not sure if that has any significance because it supposed to "Fit to page width" anyway.

What's the work around to fix this?

Firefox does not print the right edge of web pages that are made in landscape mode. I set FF to "Fit to page width" but it does not print the right edge. It's cut off. And there is no Orientation option available. Not sure if that has any significance because it supposed to "Fit to page width" anyway. What's the work around to fix this?

被選擇的解決方法

Hi Mike109, I saw your other question first, but I'll repeat my comment here:

Firefox 95 added support for style rules telling Firefox to use a certain paper size and orientation for printing. When the page has those rules, Firefox may hide or lock the orientation. There is a hidden setting to roll back this change if you need full control:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.page-size.enabled and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

You might need to reload the page after this change if it isn't reflected in the print settings panel.

Success?

從原來的回覆中察看解決方案 👍 1

所有回覆 (4)

more options

Some more info - Print Preview also shows the page cut off. And this is with "Fit to page width" selected.

Again, there is no Orientation option available.

Maybe FF thinks it's a normal portrait page, & maybe it is. But FF is displaying it as landscape in Print Preview with the right edge cut off. Therefore it's printing what is shown.

Maybe the fix is to get Orientation working in vers 97. FWIW I also had this issue before I updated, so it was probably in vers 96 also.

more options

選擇的解決方法

Hi Mike109, I saw your other question first, but I'll repeat my comment here:

Firefox 95 added support for style rules telling Firefox to use a certain paper size and orientation for printing. When the page has those rules, Firefox may hide or lock the orientation. There is a hidden setting to roll back this change if you need full control:

(1) In a new tab, type or paste about:config in the address bar and press Enter/Return. Click the button accepting the risk.

More info on about:config: Configuration Editor for Firefox. The moderators would like us to remind you that changes made through this back door aren't fully supported and aren't guaranteed to continue working in the future.

(2) In the search box in the page, type or paste layout.css.page-size.enabled and pause while the list is filtered

(3) Double-click the preference to switch the value from true to false

You might need to reload the page after this change if it isn't reflected in the print settings panel.

Success?

more options

Thanks - that worked.

The issue arose on a bank’s web page. When viewing it’s just one long page. Previously I’ve always printed in Portrait mode & it rearranged content & everything fit just fine.

The first image shows part of the right side of an original screen print.

With the Orientation option missing a Print Preview displays a Landscape format page, plus part of the next page. The bank’s name is moved to the right side & part of the word “Customize” is cut off. The second image shows the right side of a Print Preview. It doesn’t look like anything else is cut off but I’d have to read a few pages & compare to the original. (Note: other pages of the web site did show an Orientation option in Print Preview).

With the Portrait mode restored everything prints like it used to.

Thanks again.

more options

I'm now having a similar problem printing the bottom part of a page because it gets cut off, and there is no option to print page 2. https://support.mozilla.org/en-US/questions/1376820

Is there a solution?