Lynn:
First, you were working too hard. You did not need to remove 2.7.n to
install 2.6.n -- they install side-by-side in C:\python27 and C:\python26.
Here on my laptop, at the present moment, I have 2.3.5, 2.7.1, and 3.2 all
installed. [also two versions of IronPython, one of Jython, and two oth
Hi!
Try:
import win32com.client
w=win32com.client.Dispatch('Word.Application')
w.Visible=True
sel = self.w.Selection
sel.InlineShapes.AddPicture("C:\\python.jpg",False,True)
Bonus:
self.doc=self.w.WordBasic.InsertImagerScan()
(import directly from a (twain) scanner)
@-salutat
Anthony Sterrett wrote:
> What are the available data types accepted by /tuple/ in
> win32print.StartDocPrinter(/hprinter, level, tuple/)? Or, if this is
> determined by my printer driver, how can I find this information?
RAW and EMFSPOOL are predefined. The printer driver might define other
type
Andreasson Eskil wrote:
>
> Is this possible??
>
Of course. The Microsoft Office applications are controllable at a very
fine-grained level.
That doesn't mean it's going to be easy. Generally, the way to start a
task like this is to record a VB macro of the action you want to take,
then figure
Is this possible??
Best regards
Eskil
Eskil Andreasson
Technology Specialist - Virtual Engineering
Package Development Competencies, Packaging Technology
Packaging Solutions AB
Ruben Rausings gata 312:268, SE-22186 Lund, Sweden
Telephone: +46 46 36 32 69 Mobile: +46 733 36 32 69
eskil.andreas.
What are the available data types accepted by *tuple* in
win32print.StartDocPrinter(*hprinter, level, tuple*)? Or, if this is
determined by my printer driver, how can I find this information?
I am trying to hack together a program that will print a html file I've
generated onto a 3x5 index card...
Hello,
New here, so I hope I'm following correct procedures.
Yesterday I installed python 2.7.2 on win xp and then successfully installed
pywin32-216. Today I needed to use a different version of python, so I
uninstalled both and installed python 2.6.7 and pywin-216. The installation
failed