[python-win32] Print PDF

2008-02-02 Thread Gerdus van Zyl
Is there a way to print a PDF using the activeX control of Acrobat Reader? I have seen the previous discussing on this on this list but nothing seems to resolve if this is possible or not. My code: import win32com.client.dynamic avdoc = win32com.client.Dispatch("AcroPDF.PDF.1") pd = "C:\uxpython\f

Re: [python-win32] Print PDF

2008-02-02 Thread Michel Claveau
Hi! Perso, I use Adobe-Reader AND SumatraPDF. And, SumatraPDF has command-line options for print directly a file. See : http://blog.kowalczyk.info/software/sumatrapdf/manual.html In Python, you can use system, popen, subprocess, etc. @-salutation Michel Claveau ___

Re: [python-win32] makepy exception

2008-02-02 Thread Mark Hammond
I'm afraid I've never seen that before. The code in build.py at line 261 is looping over each method defined in an object, and seems to be havng trouble loading the info for one of them. It might be that a dependent typelib hasn't been loaded - I don't think we handle dependent typelibs correctly

[python-win32] Windows Python 2.5.1 IPV6 problems

2008-02-02 Thread Thomas DiZoglio
Hi, I'm trying to get some IPV6 python code running under Windows. I have installed Python 2.5.1 for Windows using the binaries from python.org. The code works fine under Debian and MacOSX (both using Python 2.5) I have rebuilt the python binaries from source and set ENABLE_IPV6. This didn't hel