Re: Ghostscript interface

2006-09-10 Thread Andrew MacIntyre
defcon8 wrote:
> Does a ghostscript interface for python exist? I have searched google
> quite a bit and all I have been able to find are command line hacks
> from within python. Thanks in advance for any useful help.

I'm not aware of a specific interface to the Ghostscript API, but it is
trivial to implement one with ctypes (included with 2.5).

-- 
-
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: [EMAIL PROTECTED]  (pref) | Snail: PO Box 370
[EMAIL PROTECTED] (alt) |Belconnen ACT 2616
Web:http://www.andymac.org/   |Australia
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Ghostscript interface

2006-09-10 Thread John Purser
On Sun, 2006-09-10 at 08:14 -0700, defcon8 wrote:
> Does a ghostscript interface for python exist? I have searched google
> quite a bit and all I have been able to find are command line hacks
> from within python. Thanks in advance for any useful help.
> 

I'm not sure what you mean by a "Ghostscript interface".  Ghostscript is
a program.  Yes, you can run it from Python using the same methods you
run any other program from Python but I'd hardly call that an
"interface".

If you're looking for a python postscript generator I believe a google
search will turn up a number of products.

If you're looking for a python .pdf generator you might want to check
out:
http://www.reportlab.org/

John Purser

-- 
http://mail.python.org/mailman/listinfo/python-list


Ghostscript interface

2006-09-10 Thread defcon8
Does a ghostscript interface for python exist? I have searched google
quite a bit and all I have been able to find are command line hacks
from within python. Thanks in advance for any useful help.

-- 
http://mail.python.org/mailman/listinfo/python-list