problem with printing selection of web page
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)
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.
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?
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
(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.
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...)