Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-30 Thread r
more *maybe useful dump? >>> for i in dev.Items: for p in i.Properties: if not p.IsReadOnly: print p.Name, '->', p.Value Color Profile Name -> sRGB Color Space Profile Brightness -> 0 Contrast -> 0 Private Highlight Level -> 0 Private Midtone Level

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-30 Thread r
On Nov 22, 11:32 am, News123 wrote: > - This script works fine for me under Windows 7, however I'm >   unable to   specify additional parameters, like dpi and >   color mode. I have found something interesting but have no idea HOW to implement it?? It seems the setting for the scanner are in the

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread News123
Hi John, John Bokma wrote: > News123 wrote: > >> MRAB wrote: >>> News123 wrote: r wrote: > more *maybe useful dump? > for i in dev.Items: > for p in i.Properties: > if not p.IsReadOnly: > print p.Name, '->', p.Value > > [..] > >> The ma

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread John Bokma
News123 wrote: > MRAB wrote: >> News123 wrote: >>> r wrote: more *maybe useful dump? >>> for i in dev.Items: for p in i.Properties: if not p.IsReadOnly: print p.Name, '->', p.Value [..] > The main question is the correct python method to chan

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread News123
MRAB wrote: > News123 wrote: >> r wrote: >>> more *maybe useful dump? >>> >> for i in dev.Items: >>> for p in i.Properties: >>> if not p.IsReadOnly: >>> print p.Name, '->', p.Value >>> >> . . . >>> Horizontal Resolution -> 200 >>> Vertical Resolution -> 200 >>> Horizonta

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread MRAB
News123 wrote: r wrote: more *maybe useful dump? for i in dev.Items: for p in i.Properties: if not p.IsReadOnly: print p.Name, '->', p.Value . . . Horizontal Resolution -> 200 Vertical Resolution -> 200 Horizontal Start Position -> 0 . . .

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread News123
Meanwhile I found out, why my script worked only on windows 7/Vista and not on my XP host. The WIA 2.0 Scripting Model is by default not installed on Windows XP. Install instructions can be found at http://msdn.microsoft.com/en-us/library/ms630827%28VS.85%29.aspx My second problem (changing par

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-28 Thread News123
r wrote: > more *maybe useful dump? > for i in dev.Items: > for p in i.Properties: > if not p.IsReadOnly: > print p.Name, '->', p.Value > . . . > Horizontal Resolution -> 200 > Vertical Resolution -> 200 > Horizontal Start Position -> 0 . . . > > No

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-25 Thread News123
News123 wrote: > Hi, > > I'm trying to scan a document from a python 2.6 script without user > interaction. > > I found a code snippet, that allows me to scan under Vista, but that > doesn't allow me to select the dpi / color mode / etc. I'm still stuck. I'll try to look at any solution (vi

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-23 Thread News123
Hi r, r wrote: > On Nov 22, 11:32 am, News123 wrote: > >> - This script works fine for me under Windows 7, however I'm >> unable to specify additional parameters, like dpi and >> color mode. > > I have found something interesting but have no idea HOW to implement > it?? It seems the setting

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-23 Thread News123
Hi r, r wrote: > On Nov 22, 11:32 am, News123 wrote: > >> - This script works fine for me under Windows 7, however I'm >> unable to specify additional parameters, like dpi and >> color mode. > > I have found something interesting but have no idea HOW to implement > it?? It seems the setting

Re: scanning under windows WIA with custom settings (dpi / etc )

2009-11-22 Thread r
On Nov 22, 11:32 am, News123 wrote: > Hi, > > I'm trying to scan a document from a python 2.6 script without user > interaction. > > I found a code snippet, that allows me to scan under Vista, but that > doesn't allow me to select the dpi / color mode / etc. > > The snippet uses win32com.client

scanning under windows WIA with custom settings (dpi / etc )

2009-11-22 Thread News123
Hi, I'm trying to scan a document from a python 2.6 script without user interaction. I found a code snippet, that allows me to scan under Vista, but that doesn't allow me to select the dpi / color mode / etc. The snippet uses win32com.client # # script start import win32com