471,351 Members | 1,534 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,351 software developers and data experts.

Ghostscript interface

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.

Sep 10 '06 #1
2 3458
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

Sep 10 '06 #2
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: an*****@bullseye.apana.org.au (pref) | Snail: PO Box 370
an*****@pcug.org.au (alt) | Belconnen ACT 2616
Web: http://www.andymac.org/ | Australia
Sep 10 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

3 posts views Thread by Chris Jankowski | last post: by
1 post views Thread by Adam Twardoch | last post: by
1 post views Thread by tc | last post: by
reply views Thread by Roel | last post: by
1 post views Thread by Christopher Campbell | last post: by
2 posts views Thread by SpamProof | last post: by
4 posts views Thread by Sjaakie | last post: by
reply views Thread by Sjaakie | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.