Print a PDF transparently

infidel saint.infidel at gmail.com
Fri Feb 17 09:08:04 EST 2006


Daniel Crespo wrote:
> Hi to all,
>
> I want to print a PDF right from my python app transparently. With
> "transparently" I mean that no matter what program handles the print
> petition, the user shouldn't be noticed about it.
>
> For example, when I want to print a PDF, Adobe Acrobat fires and keep
> opened. This is what I don't want to happen (and I thing there are a
> lot of people who want this too). So I just want to send the PDF to the
> right handler and print it. That's all.
>
> I've seen some things like Adobe's Postscript driver that can read a
> PDF, or Ghostscript, but I still don't know how to use it.
>
> Any help for printing a PDF transparently?

The only way I was able to find to do it (for free) was to install
GhostScript and GSView.  GSView comes with GSPrint.exe, which you can
call with a regular command line to send PDF files to a printer.  It
uses GhostScript for you behind the scenes because GhostScript is not
exactly the friendliest program to work with.




More information about the Python-list mailing list