Daily Archives: August 11, 2007

Create PDFs with working hyperlinks in Mac OS X

After switching to the Mac, I was very happy to notice that creation of PDF files was built right into the print dialog and part of the operating system. So unlike Windows, you don’t have to purchase to exorbitantly priced Adobe Acrobat to create PDF files. However, one problem I recently discovered is that when printing a webpage, HTML hyperlinks are not preserved and thus are not clickable in the produced PDF. This makes the saved page much less useful, because valuable information is now missing

Here is a three step procedure (using Firefox), that preserves hyperlinks:

  1. Go to file, and choose “Safe Page as…” and then choose “Web Page, complete” as the format.
  2. Open the saved page in Pages
  3. Choose “Export”, and then “PDF”
  4. This probably could be simplified a lot with an AppleScript, but unfortunately, I don’t know how to do this.

    An alternate method using Fink is described here (Mac OS X Hints).