Mozilla VPN is currently experiencing an outage. Our team is actively working to resolve the issue. Please check the status page for real-time updates. Thank you for your patience.

搜尋 Mozilla 技術支援網站

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

了解更多

how to full print website content as seen on screen

  • 8 回覆
  • 3 有這個問題
  • 1 次檢視
  • 最近回覆由 cor-el

more options

Firefox is really bad at printing. https://i.imgur.com/T7s53ua.png

How can I print a page to pdf and preserve all formatting, layout, fonts, images, and background images?

Firefox is really bad at printing. https://i.imgur.com/T7s53ua.png How can I print a page to pdf and preserve all formatting, layout, fonts, images, and background images?
附加的畫面擷圖

被選擇的解決方法

Just learned you can also screenshot from the Page Actions menu in the Address Bar

從原來的回覆中察看解決方案 👍 0

所有回覆 (8)

more options

a WORKAROUND seems to be [Print Edit WE](https://addons.mozilla.org/en-US/firefox/addon/print-edit-we/)

more options

Sounds like formatting issues conflict when FF prints WYSIWG. I don't recall FF having a print option to pdf option but opening it. So that might be a 3rd party software that install that option. I know when I installed Acrobat Pro that FF can print to PDF with that software.

more options

@WestEnd yeah FF linux can print to PDF natively (Ctrl+P -> Print to File)

more options

Different in Chromium for you? Seems about the same in Chrome on Windows.

That page uses a print style sheet to modify the layout (for example, inserting URLs after links). It's part of bootstrap. If you display the developer tools, switch to style editor, and delete lines 155 through 216 of the bootstrap style sheet (your 'pretty print' may vary, it's the block starting with @media print), then the print display is a bit more colorful, but it looks like a narrow/mobile version of the screen display because of the responsive theme, so still one column.

Then if you use the Print Preview toolbar to switch from portrait to landscape, the output finally looks a lot like the page. Except that page breaks may occur in dumb places. I don't know if Print Edit WE can help with page breaks.

由 jscher2000 - Support Volunteer 於 修改

more options

Apparently firefox has a built-in screen capture that can capture the whole page

Shift+F2 -> screenshot (--fullpage) (--clipboard | nameOfFile)

(thanks to u/klesus https://www.reddit.com/r/firefox/comments/870xn0/its_2018_and_printing_a_webpage_is_still_garbage/dw9zrdi/)

more options

codywohlers said

Apparently firefox has a built-in screen capture that can capture the whole page

Yes, if an image will do, that's a great tool. If you expect to use it frequently, you can add a little camera icon to the dev tools toolbar instead of using the command line.

https://developer.mozilla.org/docs/Tools/Taking_screenshots

more options

選擇的解決方法

Just learned you can also screenshot from the Page Actions menu in the Address Bar

由 codywohlers 於 修改

more options

Note that you can right-click an item in the "Page actions" drop-down list to add its button to the location/address bar for easy access.