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

搜索 | 用户支持

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

详细了解

How to print only selected text from a webpage and not the whole page?

  • 5 个回答
  • 9 人有此问题
  • 1 次查看
  • 最后回复者为 TheCuBeMan

more options

After selecting a segment of a web page for printing, I go to the icon for printing and that obliterates the selection leaving only the entire page as the selection to be printed.

After selecting a segment of a web page for printing, I go to the icon for printing and that obliterates the selection leaving only the entire page as the selection to be printed.

被采纳的解决方案

"The functionality to print just selected text within a webpage does not seem to be a function of Firefox."

If you are using the Print toolbar button, starting in Firefox 29 the Print Preview window opens rather that the "Print dialog window" as with previous versions; using the Print button in the upper-left corner of the Preview takes you to the "Print dialog window". The "selected text" doesn't persist going thru the Preview window; no way to print a selection of text using the Print toolbar button. (a Bug report has been filed about that change - regression.)

As cor-el mentioned if you initiate printing via the keyboard, instead of using the Print button, you should be able to print a "Selection" of text. WFM - it works for me

定位到答案原位置 👍 2

所有回复 (5)

more options

I don't think you can. In Google Chrome you would right click on the selected text and choose 'Print' which would prompt the Print dialog and show you the selected text to be printed. In Firefox 30 anyways, it does not look like this is the case or is not built in as a feature of the Firefox browser.

You only other option would be to select your text, right click and select 'Copy' and copy the text to a different text editor like Word, Google Docs, or other text editor and print from that program.


There is a hacky way to do it in Firefox by right clicking and choosing 'View Selection Source', that will open another pop up with the selected text source. But this will also give you all the HTML wrapped around the selected text.

由cmosqueda于修改

more options

You can open the Print menu via the Ctrl+P shortcut of via the File menu (File > Print).

  • Tap the Alt key or press F10 to show the Menu bar.

See also:

more options

@cor-el,

The questions was how to print selected or highlighted text not how to print in general. The functionality to print just selected text within a webpage does not seem to be a function of Firefox.

more options

选择的解决方案

"The functionality to print just selected text within a webpage does not seem to be a function of Firefox."

If you are using the Print toolbar button, starting in Firefox 29 the Print Preview window opens rather that the "Print dialog window" as with previous versions; using the Print button in the upper-left corner of the Preview takes you to the "Print dialog window". The "selected text" doesn't persist going thru the Preview window; no way to print a selection of text using the Print toolbar button. (a Bug report has been filed about that change - regression.)

As cor-el mentioned if you initiate printing via the keyboard, instead of using the Print button, you should be able to print a "Selection" of text. WFM - it works for me

more options

Of course the selected text can be printed individually.

Just select the desired text on the current page and press CTRL+P.

This will bring up the Print dialog, where you can simply select the "Selection" option there. This will print out only the selected text.

I just did this on my Firefox 30.0 and it worked perfectly.