Converting a group of webpages to 1 pdf?

Discussion in 'Mac Programming' started by w00tmaster, Sep 3, 2006.

  1. w00tmaster macrumors regular

    Jun 21, 2004
    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.

  2. Mudbug Administrator emeritus


    Jun 28, 2002
    North Central Colorado
    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?
  3. j26 macrumors 65832


    Mar 30, 2005
    Print each page, and select "Save as PDF.."
    Use PDF Lab to combine them.

    It should work.
  4. w00tmaster thread starter macrumors regular

    Jun 21, 2004

    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?
  5. cube macrumors G5

    May 10, 2004
    - HTML -> XHTML with Tidy
    - Combine results in one XML document
    - XML -> XSL-FO with XSLT
    - XSL-FO -> PDF with FOP

Share This Page