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
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
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
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
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
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
. . .
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
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
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
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
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
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
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
13 matches
Mail list logo