Print HTML to PDF while retaining hyperlinks
I'm trying to create a PDF document from an HTML document.
Of course it's easy to do this using the built-in PDF Printer, however, this does not retain hyperlinks.
I've tried wkhtmltopdf which looked very promising, but it crashes on every attempt.
Is anyone aware of any other options for generating a PDF document from an HTML document while retaining URL links?
Solution 1:
Found an answer over on SuperUser.com: wkpdf
Free, works perfectly. All hyperlinks retained.
Solution 2:
The built-in Safari browser seems to do this when you do File -> Print -> PDF -> Save as PDF
, it works for me as of Version 6 of Mac Safari.
Solution 3:
You can do this using Adobe Acrobat.
In Acrobat, go to File-> Create PDF-> From File. Select your HTML doc, let it do a bit of work, and then use File-> Save As to save it.
All hyperlinks will be intact.