[Pythonmac-SIG] Concatenate PDFS's with python

Bob Ippolito bob at redivi.com
Tue Feb 17 13:02:55 EST 2004


from cover.py, the example I recommended:

def usage ():
   print '''
usage: python cover.py [OPTION]... PDF-FILES...

*****Add***** a cover page to one or more PDF documents.
......

emphasis mine :)

-bob

On Feb 17, 2004, at 12:57 PM, Tim Conner wrote:

> I've looked at those examples and they show how to create a pdf, not 
> manipulate an existing one. They are good py examples, but not for the 
> topic I'm looking for. :)
>
> Thanks,
>
> Tim
>
> On Tuesday, February 17, 2004, at 09:02AM, Bob Ippolito 
> <bob at redivi.com> wrote
>> On Feb 17, 2004, at 9:33 AM, Tim Conner wrote:
>>
>>> I'm looking for some print house type solutions that use
>>> coregraphics/quartz and python to manipulate images, eps's, and pdfs.
>>> To get started on this quest it would be nice if someone could point
>>> me to examples or write a quick sub-routine that would take 2 pdfs 
>>> and
>>> combine them into 1, 2-page pdf. I just need a stepping stone to get
>>> me rolling. I also need the same thing for jpegs, but once I see a 
>>> pdf
>>> example, I should hope I can handle that on my own.
>>
>> OS X 10.3 comes with the CoreGraphics Python extension, and Xcode 
>> comes
>> with examples.  See /Developer/Examples/Quartz/Python .  cover.py may
>> be of particular interest to you.
>>
>> This functionality is not, and probably will never be, available from
>> Python in OS X 10.2.x.
>>
>> -bob
>>
>>
>>




More information about the Pythonmac-SIG mailing list