Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How can I retain hyperlinks while saving a webpage as PDF via Print?

In SL, I could give Print from Safari and instead of clicking PDF > Save as PDF, if I click Preview and save the document from within Preview, I could retain the hyperlinks. But this no longer works in Lion. Anyone has a solution?

Mac OS X (10.7)

Posted on Jul 25, 2011 7:37 PM

Reply
22 replies

Mar 25, 2012 6:18 AM in response to rj_oregon

Hi rj,


The stand alone WebKit version within Safari got fixed with the latest release, but not the system wide WebKit, which is open to developers using Mac OS X system calls. So apps like NetNewsWire, Vienna, RapidWeaver etc, which depend on the system WebKit, will keep this bug until a future Mac OS X update.


The good news: it is fixed, the bad news: we have to wait until the fix makes it into a Mac OS X release...


Cheers,

Karsten

Mar 25, 2012 3:21 PM in response to Karsten Krueger

On further thought, I'd call the fix a good start, but it seems to have introduced a new wrinkle. Here's what I mean.


The fix to WebKit means Safari 5.1.4 does now produce a PDF file with "active links." But the link text appearing in a PDF has lost something that appeared in the original's browser window: links that appeared as blue (or other color, but I refer to the default style) in the browser are rendered in the PDF with no distictive formatting at all. If the tag text was italicized in the source document and browser window, it appears in the PDF as just italicized, in preview, now. Of course, italics are used frequently just for emphasis in prose, not to indicate links.


I'd ask the reader to consider the effect of this re-rendering. The very purpose and nature of hyperlinks is to provide a visual clue: you see a distinct color formatting on a term, if you click on it you will go somewhere to learn more. By stripping out the visual link distinction from the PDF rendering, the only visual clue is if the word is other-wise formatted in the original (i.e. older content is broken). Looking at some random Wikipedia content (a fairly lage body with uniform style / policy), all link-terms appear with the color difference (and the color changes once you've followed the link), some will appear as regular text and some is italicized.


I applaud getting WebKit out the door and I look forward to some sort of fix being introduced. The PDF rendering fix seems to "dumb down" the visual link language once it is exported to a PDF; here this fix introduces (IMHO) a new serious defect. It strips out the visual language we have used to identify links since the beginning of HTML, or at least as far back as I can recall. If this is the visual interface the reader is left with from here forward, the only way to skim a PDF for actual links would be to mouse over every word of text to "discover" where the links are (that's sure not how I learned to read docs rendered from HTML!). Something significant has been lost.


(This is a follow-on post, second try, because the website went zonkers on me when I tried to update the first time.)

How can I retain hyperlinks while saving a webpage as PDF via Print?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.