Claridge-Chang Lab
  • About
  • People
  • Papers
  • Join
  • Blog
  • Contact

Joining .ai files into a single pdf quickly

8/1/2015

0 Comments

 
Using Illustrator to make figures give nice results, but is a pain to collate into a single pdf repeatedly during the drafting process, requiring the use of Adobe Acrobat Pro's Create PDF > Merge Files into a Single PDF, clicking "Add Files", then selecting the files you want to collate into a pdf.

A faster way is to use pdftk server, a command line tool that is made for pdfs, but seems to work fine for .ai files also. From the examples given on the pdftk page, doing this is as simple as launching Terminal and typing the relevant version of this:

$ cd yourdirectory
$ pdftk input1.ai input2.ai cat output new.pdf


The resulting pdf files still ends up pretty big (as large as doing the same operation in Acrobat), so one still has to reduce file size in Preview (File > Export... > Quartz Filter: Reduce File Size, click Save).

You can download and install pdftk server here.

For repeated collation, you can save your command lines into a text file for later use.

*Note that you can find yourdirectory by using the Finder to find one of the relevant files and pressing Command-I to get information. Then highlight and copy the path information under "Where" in the information window.
0 Comments



Leave a Reply.

    Author

    ACCLab

    Archives

    March 2025
    February 2025
    January 2024
    July 2023
    April 2023
    March 2023
    September 2022
    March 2022
    February 2022
    October 2021
    September 2021
    September 2019
    March 2019
    June 2018
    May 2018
    April 2018
    March 2018
    August 2017
    January 2017
    December 2016
    October 2016
    September 2016
    August 2016
    July 2016
    May 2016
    August 2015
    July 2015
    June 2015
    May 2015
    January 2015
    December 2014
    March 2014

    Categories

    All

    RSS Feed