Printing PDF files (win32)

Alex Martelli alex at magenta.com
Wed Aug 16 16:49:54 EDT 2000


"Robin Becker" <robin at jessikat.fsnet.co.uk> wrote in message
news:9B3X3jAk+um5EwKT at jessikat.fsnet.co.uk...
    [snip]
> >> >Does anyone know how to automate the printing of PDF files through
> >> >Acrobat Reader?
> >> >
> >> under unix it's fairly easy. I looked into doing this at one point, but
> >> I couldn't figure out the com interface. There is an ActiveX Acrobat
> >> Control, but I think that would be tough to use.
    [snip]
> yes that was exactly my problem; how to get the document processing
> without a window.

Try Navigate to the .PDF file from an instance of
InternetExplorer.Application
with the Visible property set to 0; that should work.  Then, when the
ReadyState property of the IE instance gets to 4, you print with ExecWB
as per recent thread on the subject.


Alex






More information about the Python-list mailing list