Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Create PDFs with working hyperlinks from HTML files' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Create PDFs with working hyperlinks from HTML files
Authored by: Nasir on Aug 19, '03 10:39:01AM

You don't even need to download the file, as htmldoc is able to fetch it via HTTP:

htmldoc -f out.pdf 'http://abc.com/?a=1&b=2'



[ Reply to This | # ]
Create PDFs with working hyperlinks from HTML files
Authored by: pobs on Aug 19, '03 03:28:08PM

This might be an obvious problem but... some pages ripped from the web seem to get spread over three or four pages of the resultant PDF. Also pages that append directories dynamically (i.e. nytimes.com) do not work... maybe I haven't fiddled with the settings enough yet...

anyone find a way to rip a webpage and keep it's links to www URL's intact?

Just the same... a cool app.

Also, anyone have any comments about compiling with FLTK and using the GUI?



[ Reply to This | # ]
Create PDFs with working hyperlinks from HTML files
Authored by: blgrace on Aug 19, '03 08:13:19PM

Or you could put this alias in your .tcshrc file (or whatever shell you're using)... to save the current URL from the pastebuffer to your desktop.

alias pdf 'cd ~/Desktop && htmldoc --webpage -f outfile.pdf `pbpaste` && cd - '

All one line



[ Reply to This | # ]