Thanks the SumatraPDF link is very useful. The following code is what
I came up with and is based on this msg:
http://two.pairlist.net/pipermail/reportlab-users/2003-February/001260.html
import win32ui
import dde
from win32api import FindExecutable
import os.path
from os import spawnl,P_NOWAIT,sta
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
___
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