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 -> 0
Private Shadow Level -> 0
Private Gamma -> 2200
Private Saturation -> 1000
Private Hue X -> 0
Private Hue Y -> 0
Private Sharpen Level -> 3
Threshold -> 55
Horizontal Resolution -> 200
Vertical Resolution -> 200
Horizontal Start Position -> 0
Vertical Start Position -> 0
Horizontal Extent -> 1700
Vertical Extent -> 2338
Current Intent -> 0
Data Type -> 3
Media Type -> 128
Format -> {B96B3CAA-0728-11D3-9D7B-0000F81EF32E}
Private Source Depth -> 0
Private Preview -> 0
Private Exposure Method -> 0
Private Smoothing -> 1
Private Color Enhanced -> 0
Private TMA Method -> 0


>>> dev.DeviceID
u'{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\\0000'


>>> for p in dev.Properties:
        print p.Name, '->', p.Value

Item Name -> Root
Full Item Name -> 0000\Root
Item Flags -> 76
Unique Device ID -> {6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0000
Manufacturer -> Hewlett-Packard
Description -> HP Deskjet F300
Type -> 65538
Port -> \\.\Usbscan0
Name -> HP Deskjet F300
Server -> local
Remote Device ID ->
UI Class ID -> {0A8DC120-D685-4247-9CD1-8712F6BB2DED}
Hardware Configuration -> 0
BaudRate ->
STI Generic Capabilities -> 48
WIA Version -> 2.0
Driver Version -> 0.0.0.216
PnP ID String -> \\?\usb#vid_03f0&pid_5511&mi_00#6&2def7e7&0&0000#
{6bdd1fc6-810f-11d0-bec7-08002be2092f}
STI Driver Version -> 2
Horizontal Bed Size -> 8500
Vertical Bed Size -> 11690
Horizontal Bed Registration -> 0
Vertical Bed Registration -> 0
Access Rights -> 3
Horizontal Optical Resolution -> 2400
Vertical Optical Resolution -> 2400
Firmware Version -> 1.0.na
Max Scan Time -> 500000

Now how to set the values... hmmm?

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to