Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

All Replies (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...)