Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

搜尋 Mozilla 技術支援網站

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

Learn More

How do I print to PDF preserving hyperlinks?

more options

When I print pages to PDF, using Firefox build-in "File > Print" tool, it removes hyperlinks from the saved PD file. Which makes it in many cases useless.

Google Chrome, for example, preserves hyperlinks when printing to PDF. Is it possible, without using external add-ons, print page to PDF file preserving all hyperlinks?

I know about many an add on like "Save to PDF", but all of them have drawbacks. In any case, it's strange that browser has such a strange a habit of removing links.

Thanks.

When I print pages to PDF, using Firefox build-in "File > Print" tool, it removes hyperlinks from the saved PD file. Which makes it in many cases useless. Google Chrome, for example, preserves hyperlinks when printing to PDF. Is it possible, without using external add-ons, print page to PDF file preserving all hyperlinks? I know about many an add on like "Save to PDF", but all of them have drawbacks. In any case, it's strange that browser has such a strange a habit of removing links. Thanks.

所有回覆 (1)

more options

As far as I know, any PDF conversion that runs through Firefox's Print function cannot preserve links because the link associated with the display text is not part of the data sent to a printer (physical or virtual).

Hopefully Firefox's built-in PDF converter will be improved if this is not a feature now. Alternately, perhaps someone could grab the code from Chromium and build that into an extension.

Chrome's PDF converter seems to be a little glitchy when a link continues from the end of a line to the next line (BSD-3-Clause in the footer here: https://www.userchrome.org/). But otherwise it seems to work fairly well.