PDA

View Full Version : Converting a group of webpages to 1 pdf?




w00tmaster
Sep 3, 2006, 04:46 PM
I have a list of links to separate articles in HTML on a web page, and I want to amalgamate them into 1 big pdf. I know that I can visit each webpage individually and use Apple's print and save them as pdfs, however is it possible to use Applescript(or perhaps some other scripting language, I'm flexible here) to convert these to PDFs? Apple's printing page hasn't been very helpful on this issue.

Thanks.



Mudbug
Sep 3, 2006, 04:49 PM
real quick - what OS are you using?

If 10.4.x Tiger, I've got a suggestion...

Use automator to combine the pdfs into a single pdf document. Print each page using the finder to .pdf pages, then tell automator to combine the PDF documents into a single .pdf document. If that's not what you meant, can you elaborate?

j26
Sep 3, 2006, 04:56 PM
Print each page, and select "Save as PDF.."
Use PDF Lab (http://www.versiontracker.com/dyn/moreinfo/macosx/24482) to combine them.

It should work.

w00tmaster
Sep 4, 2006, 12:16 AM
real quick - what OS are you using?

If 10.4.x Tiger, I've got a suggestion...

Use automator to combine the pdfs into a single pdf document. Print each page using the finder to .pdf pages, then tell automator to combine the PDF documents into a single .pdf document. If that's not what you meant, can you elaborate?


How do you use the print function in automator to print to pdf? I see the print function, but I cannot figure out how to get it to pdf. Are you supposed to set up a special printer that will automatically print to pdf?

cube
Sep 4, 2006, 06:17 AM
- HTML -> XHTML with Tidy
- Combine results in one XML document
- XML -> XSL-FO with XSLT
- XSL-FO -> PDF with FOP