Invoking CutePDF from within Python

Tim Golden mail at
Fri Feb 13 15:54:33 CET 2009

python at wrote:
> Tim,
>> FWIW, I usually generate PDFs by printing to a Postscript printer (some random Apple Laserthingy) and then using Ghostscript to do the conversion. I'm happy to post if you're interested.
> If its not too much bother, I would be interested in learning how you're
> interfacing to Python to Ghostscript.

Really boring, I'm afraid. Just popen and an .exe:

(There are a few dependencies I haven't shown but I
hope the approach is obvious; happy to explain / supply


More information about the Python-list mailing list