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

搜索 | 用户支持

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

详细了解

Printing webpages cuts off about 2/3 like printing 15 pages cuts off at 5 pages in print and print preview!!!

  • 9 个回答
  • 2 人有此问题
  • 83 次查看
  • 最后回复者为 jimveta

more options

If I select 'simplify the page' in print preview most of the time all pages display and print. Otherwise, it only displays a third of the webpages when printing (ANYTHING to ANY PRINTER including PDF).

If I select 'simplify the page' in print preview most of the time all pages display and print. Otherwise, it only displays a third of the webpages when printing (ANYTHING to ANY PRINTER including PDF).

被采纳的解决方案

Hi ktouzin1, Firefox has some bugs with printing, but it shouldn't arbitrarily cut off after one third of the content.

For example, Print Preview should show the entirety of this page (about 10 printed pages): https://www.userchrome.org/what-is-userchrome-css.html

One increasingly frequent problem is pages using style rules Firefox treats as creating an "unbreakable" block of content. Instead of wrapping over to additional pages, it just runs off the bottom of a page into oblivion. Could that be the problem you are seeing?

I hope that problem gets fixed in the future. In the meantime, I created an extension to override some of the problematic style rules so pages print better (in most cases). You could try it if you like:

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

For example, if Preview shows the page is going to cut off, click the extension button and the first button in the drop-down. Then preview again.

定位到答案原位置 👍 3

所有回复 (9)

more options

选择的解决方案

Hi ktouzin1, Firefox has some bugs with printing, but it shouldn't arbitrarily cut off after one third of the content.

For example, Print Preview should show the entirety of this page (about 10 printed pages): https://www.userchrome.org/what-is-userchrome-css.html

One increasingly frequent problem is pages using style rules Firefox treats as creating an "unbreakable" block of content. Instead of wrapping over to additional pages, it just runs off the bottom of a page into oblivion. Could that be the problem you are seeing?

I hope that problem gets fixed in the future. In the meantime, I created an extension to override some of the problematic style rules so pages print better (in most cases). You could try it if you like:

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

For example, if Preview shows the page is going to cut off, click the extension button and the first button in the drop-down. Then preview again.

more options

Holy Cramps that plugin worked! This will help my research a lot! Thanks again!

more options

Hi ktouzin1, if you find pages that still can't be "paginated" (Firefox still think they're unbreakable), feel free to let me know so I can see whether I can add a few more tweaks to the extension.

more options

Thank you!

more options

I have this problem too on: https://github.com/ethereum/wiki/wiki/White-Paper It cuts off after page 3 out of 52 but prints (nicely) on Edge, Chrome/Chromium

However, Printable – The Print Doctor add-on worked beautifully to work around the problem!

more options

I found one page where the addon works to properly paginate, but also creates another issue: https://www.lucassaldanha.com/ethereum-yellow-paper-walkthrough-1/ after clicking Override unbreakable display types, it duplicates the top Home and Menu buttons on every page, also overlapping any text in that area.

Firefox's Simplify page feature in the print dialog does manage to create a fully printable site for this but it changes the look quite a bit

由jimveta于修改

more options

jimveta said

I found one page where the addon works to properly paginate, but also creates another issue: https://www.lucassaldanha.com/ethereum-yellow-paper-walkthrough-1/ after clicking Override unbreakable display types, it duplicates the top Home and Menu buttons on every page, also overlapping any text in that area.

The page has fixed position buttons that stay a certain height from the top of the viewport, and this is replicated to the print view. As a special exception, if the window is narrowed to 960 pixels or less, the button position flips to absolute and they scroll away, but that rule is for "screen only". Firefox therefore doesn't apply the exception to printouts but interestingly, Google Chrome does.

I know I need to add some extra features to deal with annoying fixed position items. Maybe I can work on it this weekend.

more options

Hi jimveta, I posted an updated version (1.0) with a feature to "unfix" fixed position elements that repeat on every page. After you use it, when you hover the affected elements, a panel should overlay with options to change the layout further in case the default change creates problems. I'm very new to this kind of scripting so please let me know where you find problems.

more options

Thanks for the fast update! It works well, better than how Chrome handles it since I can change page scaling directly before printing