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

John Bokma john at castleamber.com
Sat Nov 28 18:25:35 EST 2009


News123 <news123 at free.fr> 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 change the property
> 
> prop = 300 # doesn't work as it just replaces the property with an
> integer 

wild guess, but how about p.Value = 300 ?

John



More information about the Python-list mailing list