Lion: Print to PDF looses URL links

Discussion in 'Mac OS X Lion (10.7)' started by DC01, Jul 23, 2011.

  1. DC01 macrumors newbie

    Jul 23, 2011
    Hi !

    Printing to PDF from Safari before 10.7 resulted in a PDF containing all links in an executable form: they just worked as expected.

    With 10.7 these links are omitted. They still look like links, but clicking on them does not work nor the cursor changes.

    I used to archive scientific articles this way which does not work without the links still being active.

    How can I restore active links ?

    Thanks !
  2. ffransis macrumors newbie

    May 20, 2005
    Not just Safari

    The problem is not specific to Safari; it appears also in Mail. Text Edit, however, preserves clickable URLs, although in my case it strips the underlining and colour in the PDF output, leaving the link as plain text.

    I cannot comment on other applications, as so far all I've done is set up a new Mac Mini, and have yet to install any third party applications.
  3. DC01 thread starter macrumors newbie

    Jul 23, 2011
    Not just Safari, but WebKit

    It looks like the reason is a change in WebKit. All Apps using WebKit to display documents changed their behavior, I believe, because I do have the same issues now with 10.6, after installing the latest Safari update...
  4. johannnn macrumors 65816


    Nov 20, 2009
    I did a PDF of a google search page to test this, and it seems that links works for everything that is typed as an url. So in the google search, the green text below the title of each hit is clickable, and so is the current url that is put at the bottom left corner of each PDF.

    You ask how to restore the feature? File a bug report.
  5. DC01 thread starter macrumors newbie

    Jul 23, 2011
    Yes, but that is not a link on the web page (try to click it in your browser - it is not active). What you see here is the ability of your PDF viewer to detect URLs in a written text...
  6. ffransis macrumors newbie

    May 20, 2005
    A change in WebKit makes sense, as the cause of the problem. But whatever the technicalities, the loss of clickable embedded links is a significant loss of functionality in the operating system. PDF generation and rendering has always been a major strength of OS X, and the ability to archive hypertext documents in PDF format is one of those things that has Microsoft Windows users in the business world jealous of Mac users.

    I trust that this is merely an oversight on the part of OS X developers, and the error can be corrected in 10.7.1.

  7. DC01 thread starter macrumors newbie

    Jul 23, 2011
    Traced things in nightly builds

    I traced things down to a Safari bug introduced April 6th.
    Nightly build 83010 works, 83080 does not.

    I filed a bug report which is still dormand:

    The problem: nobody picked up that bug for about 2 months.
    So don't expect a solution soon. Perhaps we should start to be
    a bit more vocal at the Safari team ...
  8. ffransis macrumors newbie

    May 20, 2005
    Indeed we should. I have no experience of interacting with the OS X development community, but it looks as if you do. How best to approach this?

    As a workaround, I'm currently using the browser applet provided by NitroPDF. But it takes an age to process even the simplest web page, and is therefore not a solution to the problem.

  9. drayon macrumors 6502

    Aug 20, 2007
    OP-download 'Omniweb' and use the following key stroke to save the page as. PDF


    This is actually different (formatting) than the Print 'Save as PDF'.
  10. DC01 thread starter macrumors newbie

    Jul 23, 2011
    @ ffransis

    While it seems that I might know a bit, it was just mere googling, exploring and a bit of good luck. How to respond to this in an effective way ? I am still trying. Perhaps file some more bug reports on this ? Perhaps mail some of the Safari developers ? I am not sure. Perhaps

    is a good place to start. I still hope someone from Apple stumbles over our posts and takes action.


    Thanks for the tip. It works and is a partial solution.

    The main issue: most rss-feed readers use webkit. Switching to OmniWeb means to change your RSS-Feed habits quite drastically.

Share This Page