搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

How do I print web pages as they are displayed? The Print Frames option is not displayed.

more options

The "How to print websites' - 'How to print web pages" solution shows that when 'Print' is selected the 'Print Window Settings' that gets displayed has the options 'Print Frames'. That option is not displayed. on Windows 8.1. It should be as simple as pressing a button to get the page printed, even IE manages to get that bit right.

The "How to print websites' - 'How to print web pages" solution shows that when 'Print' is selected the 'Print Window Settings' that gets displayed has the options 'Print Frames'. That option is not displayed. on Windows 8.1. It should be as simple as pressing a button to get the page printed, even IE manages to get that bit right.

所有回覆 (9)

more options

Sorry, the "Printing a web page" section of that page does not reflect what happens with Firefox 29 and 30. Now the Print button first opens the Print Preview window, rather than opening the Print window settings (aka "native print dialog" window) as shown in that support article. There's a Bug filed on that change with the Print. https://bugzilla.mozilla.org/show_bug.cgi?id=1007779 Almost 2 months old Bug report and no one assigned to fix it yet.

If you use the File > Print button you will go directly to the "Print window settings" window and print a frame from there. Or use { Ctrl + P } to initiate printing and see that "Print widow settings", too.

Or you can right-click the Frame that you want to print and then select This frame and then use the Print frame ... menu item.

more options

There is no File button, I assume you mean the three parallel lines at the top right corner of the Firefox window? Pressing that then selecting Print does not give you the option to print a frame nor does right clicking on the displayed print preview, give the Print Frame menu option.

Dissappointing that the bug report is 2 months old yet still not assigned. I've used IE forever and only started using Firefox as my preferred browser a few weeks ago. looks like I should have stayed with IE.

more options

What is the page that contains frames that you want to print? Can you post a link to it?

I think Ed's last suggestion is the easiest in this case:

right-click the framed page (not on a link or image) > This Frame > Print Frame

more options

The Menu Bar, with the File menu should temporarily appear if you hit the Alt key or the F10 key. Or you can have it showing all the time, if you so wish via the View > Toolbars menu.

more options

The page (this time) is a coupon for a discount that is generated for me so I couldn't post a link to it. Pressing Alt does bring up the File menu but selecting Print is just as I've reported. There are no Print Frame options and having pressed Print or Print Preview, displays either the standard Windows Print Window or a preview of the web page with all the Frames separated onto multiple pages.

Yesterday I was trying to print the pop-up window which gave driving instructions to the map below it and hit the same brick wall. I had to revert to IE to print the pop-up.

more options

The reason I asked for a link is that most sites no longer use traditional frames. Here's an example of one that does, so your print dialog should show the frame section:

http://www.quackit.com/html/templates/frames/frames_example_5.html

For sites that do use traditional frames (or more modern iframes), the right-click method will let you print the document in the right-clicked frame or iframe.


So if the problem printing the pages you mentioned isn't because of traditional frames, we may need to consider other explanations for the problem. Such as more style rules that Firefox does not paginate correctly.

more options

Try this link, http://www.pizzaexpress.com/offers/claim/4838/491/ then try to print the page. If you do a Print Preview first, you'll see the problem.

more options

I wasn't able to see your claim, so I created a new one for Mr. Test User. When I click the "Print this offer" button a new tab opens and the Print dialog immediately appears. I canceled that dialog and grabbed a screen shot of the preview, which looks good.

more options

One thing I forgot to mention about that site, which also is true of many others, is that the site specifies a different set of style rules for printing vs. viewing on screen. In this case, all the style rules are limited to screen display, and are ignored for printing, so it just looks like plain HTML.

That could be the problem you're encountering, since obviously the layout for the main page is garbage in the print view compared with the on-screen view.

As far as I know, there is no built-in way to work around that. There might be an add-on that can work around this issue. Print Edit seems to have something related with its "Web View" button but I haven't tested it.

https://addons.mozilla.org/firefox/addon/print-edit/