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

搜索 | 用户支持

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

详细了解

How can I print a selection in Firefox 11 without it wasting paper and printing blank space in place of the non-selected material?

more options

In Firefox 10 and before, I could select a small portion of a web page and it would print the selected portion on a single page. In Firefox 11, it prints blank space for the portion above my selection before printing my selection. This blank space could span several pages, and my printer prints those several blank pages with only headers and footers.

In Firefox 10 and before, I could select a small portion of a web page and it would print the selected portion on a single page. In Firefox 11, it prints blank space for the portion above my selection before printing my selection. This blank space could span several pages, and my printer prints those several blank pages with only headers and footers.

所有回复 (5)

more options

I think Firefox has always kept the relative position of your selection when printing a selection. In other words, it simply leaves blank space for the header and navigation bar.

As a workaround, I often "hack" the page temporarily using a "bookmarklet" which is a snippet of script code run from the Bookmarks toolbar. This old discussion thread shows what I use, which you can try if you like: Printing selection at mozillaZine Forums.

Otherwise, maybe there is an add-on that offers a slicker solution?


Note: A faster way to add a bookmarklet is as follows.

First, copy the entire script code to the clipboard.

Next, if you are not displaying the Bookmarks Toolbar, use View > Toolbars > Bookmarks Toolbar to display it. (If you aren't displaying the classic menu bar, you can use Alt+v to open the View menu.)

Right-click on the Bookmarks Toolbar and choose New Bookmark.

Paste the code into the Location box (the second box).

Then type a useful name in the Name box (e.g., Crop4Print) and click Add.

Now, when you want to hack the page, click the button to run the script.

由jscher2000 - Support Volunteer于修改

more options

Still happens with Firefox 12. I wish they'd just fix it, the way it used to be in Firefox 10, without the complicated workaround suggested above.

more options

I looked at this again yesterday for another poster and it does seem worse now: the preservation of vertical space can span multiple pages, which I believe is a new problem.

This might be easier than the bookmarklet: the add-on Nuke Anything Enhanced has the option to remove everything except your selected text from the page. Then you can print normally (i.e., without choosing the Selection bubble). I don't see a feature to undo that, so you would need to reload the page afterwards in order to continue working with it.

Screen shots: https://support.mozilla.org/en-US/questions/923294?page=2#answer-328405

more options

An add-on "Print Edit" was recommended in the latest Firefox Newsletter. It could be worth a try.

https://addons.mozilla.org/en-US/firefox/addon/print-edit/?src=external-newsletter

more options

In Print Edit, click what you want printed and then use Delete Except. (Using Hide Except leaves the content way down on the page.)