Printing PDF files (win32)

Robin Becker robin at jessikat.fsnet.co.uk
Thu Aug 17 04:15:29 EDT 2000


In article <8nev4e0rhb at news1.newsguy.com>, Alex Martelli
<alex at magenta.com> writes
>"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
...
adding IE on top of acrobat reader would really be overkill :) many
windows boxes don't have IE. 
-- 
Robin Becker



More information about the Python-list mailing list