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

搜索 | 用户支持

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

详细了解

problem with printing selection of web page

more options

Print selection function from webpage don't print correctly. If text is marked then first line of text is printed not correct (printed only lower part of line). If text is longer than one page there is similar problem at the end of first page and begining of second. The problem occurs on HP LaserJet 4015 printer, and PDF creator too. Firefox 18.0.2 and firefox 19.0 , Windows 7 64bit

Print selection function from webpage don't print correctly. If text is marked then first line of text is printed not correct (printed only lower part of line). If text is longer than one page there is similar problem at the end of first page and begining of second. The problem occurs on HP LaserJet 4015 printer, and PDF creator too. Firefox 18.0.2 and firefox 19.0 , Windows 7 64bit

所有回复 (4)

more options

I see the same problem. I tried selecting something from this page and the top of the first line was cut off. I did not try actually printing, but just printed to PDF and did a preview.

more options

This support page is not useful because I do not know how to access the reported 145 solutions nor the 2026 answers. When I select to print from a web site page, the top of the first line is missing. What is the answer?

more options

Hi mrbcl1, unfortunately the answer is that Firefox has some bugs when it comes to printing selections!

Typically, where the top of the selection is cut off, it means that Firefox is applying some style rules meant to position that part of the page on screen -- even though they are irrelevant when printing a selection. There's no built-in way to get Firefox to ignore those rules. You can try a different selection (keep more stuff above) or other interventions, but it can be a waste of time in many cases.

Here are two workarounds. In both cases, the idea is to isolate the selected part of the page (hide everything else) so you can print it normally, bypassing the limitations of the Print Selection feature.

(1) Use the Nuke Anything Enhanced extension

See: When using print selection in Firefox 12.0, it prints wherever the selection is on the page (on paper) instead of at the top of the page (of paper).

(2) Use a bookmarklet (snippet of JavaScript saved as a button on your bookmarks toolbar) to isolate the selection for printing.

This is the technique I generally use due to force of habit. The details are in this post.

more options

Hi kjannasz, Firefox's Print Selection feature has always had the problem of sometimes "slicing" lines of text horizontally at page breaks. Maybe images, too, in some cases. I've never seen anyone propose a workaround for that. (Other than to avoid the Print Selection feature...)