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

搜索 | 用户支持

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

详细了解

web page truncated in print preview

  • 4 个回答
  • 5 人有此问题
  • 14 次查看
  • 最后回复者为 billlee42

more options

Print preview on this web page is truncated in the middle of the comments.

Internet Explorer 11.0 is worse, omitting the comments entirely.

Chrome 37.0 print preview is quite good with a few minor errors. And the print function includes PDF file output, exactly what I was looking for.

I am a long time Firefox fan so it is painful to have resorted to installing Chrome.... :-( :-)

Are there some config change(s) I could make so the print preview would be complete?

(Maybe it's the content that's causing the problems? :-D)

http://www.gayguys.com/2014/08/young-gay-guys-becoming-attraction-older-men/

Print preview on this web page is truncated in the middle of the comments. Internet Explorer 11.0 is worse, omitting the comments entirely. Chrome 37.0 print preview is quite good with a few minor errors. And the print function includes PDF file output, exactly what I was looking for. I am a long time Firefox fan so it is painful to have resorted to installing Chrome.... :-( :-) Are there some config change(s) I could make so the print preview would be complete? (Maybe it's the content that's causing the problems? :-D) http://www.gayguys.com/2014/08/young-gay-guys-becoming-attraction-older-men/

被采纳的解决方案

Re c: I also did not get scroll bars in the new tab, which is why I didn't mention that options in this case. It didn't occur to me to try the keyboard navigation. The body of the comments page has the style rule overflow:hidden which disables scroll bars. (I think it is set up that way because it can be confusing to have scroll bars in an iframe and they didn't intend to have you view the comments on their own.)

定位到答案原位置 👍 2

所有回复 (4)

more options

This is a tough one. The Facebook content is in an iframe (inline frame) and due to the style rules in the frame, or something about the way the frame is positioned in the page, Firefox is not correctly paginating the full iframe content.

There are lots of cases like this where Firefox stumbles in its print layout. Often a little hack solves it, but in this case, I don't see a quick fix.

You can print the comments in full as follows:

right-click the Facebook content > This Frame > Print Frame

In the print dialog, you can start on page 2 (e.g., 2 to 99) to reduce the duplication. (Due to text size difference when printing the FB content outside of the frame, there was still some overlap in my test.)

more options

This is very informative, jscher2000. Thank you!

a. I didn't realize the comments on this page are a FB frame--fascinating! b. The "This Frame" context menu is new to me too. May be very useful in the future. c. When I put the FB frame into a new tab, the tab has no vertical scroll bar, so scrolling via the mouse is disabled. However PageUp and PageDown keys work fine. (A bit of code missing??) d. Print preview of the FB frame in its own tab does show the comments all the way to the end.

Thanks again!

more options

选择的解决方案

Re c: I also did not get scroll bars in the new tab, which is why I didn't mention that options in this case. It didn't occur to me to try the keyboard navigation. The body of the comments page has the style rule overflow:hidden which disables scroll bars. (I think it is set up that way because it can be confusing to have scroll bars in an iframe and they didn't intend to have you view the comments on their own.)

more options

It's very good of you to take the time to explain how & why stuff works--stuff I love knowing. You're a good teacher. :-) Again, thank you very much!