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

MRAB python at mrabarnett.plus.com
Sat Nov 28 17:28:49 EST 2009


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
> . . .
>> Now how to set the values... hmmm?
>>
Well, according to that they /aren't/ read-only because it says:

     if not p.IsReadOnly:
        ^^^




More information about the Python-list mailing list