title: WIA scanner, can't get/set 4104 and 6146 properties (color, color depth)
body: <p>I'm trying to configure the color and depth in a Kodak i2600 scanner using WIA on a C# project. Several posts refer to parameters 6146 (which can take the values ​​1 (color), 2 (gray scale) or 4 (white and black)) and 4104 (color depth = 24).</p>
  
  <p><a href="https://stackoverflow.com/questions/1055572/wia-automation-for-scanner-color-intent-is-not-working">WIA Automation for scanner color intent is not working</a></p>
  
  <p><a href="https://stackoverflow.com/questions/912303/windows-image-acquisition-setting-device-properties-in-c-sharp">Windows image acquisition - setting device properties in C#</a></p>
  
  <p><a href="https://stackoverflow.com/questions/6215453/detect-all-available-scanner-resolutions-using-wia">Detect all available scanner resolutions using WIA</a></p>
  
  <p>These properties do not appear when I iterate the array scanner properties.</p>
  
  <p>I use a foreach loop to iterate properties and this is the list that I get:</p>
  
  <ul>
  <li>3112: User Name: *******</li>
  <li>4098: Item Name: Root </li>
  <li>4099: Full Item Name: 0000 \ Root </li>
  <li>4101: Item Flags: 76 </li>
  <li>2: Unique Device ID: {613DD1FC6 - 810E- 1100 - 13EC7- 0800213E2092F} \ 0000 </li>
  <li>3: Manufacturer: Kodak </li>
  <li>4: Description: KODAK i2600 Scanner </li>
  <li>5: Type: 65537 </li>
  <li>6: Port: \ AUsbscan0 </li>
  <li>7: Name: KODAK i2600 Scanner </li>
  <li>8: Server: local </li>
  <li>9: Remote Device ID: </li>
  <li>10: Ul Class ID: {40131AD10 - 3391 - 11D2- 9A33- 00C04FA36145} </li>
  <li>11: Hardware Configuration: 0 </li>
  <li>12: 8audRate: </li>
  <li>13: STI Generic Capabilities: 49 </li>
  <li>14: WIA Version: 2.0 </li>
  <li>15: Driver Version: 1.1.0.0 </li>
  <li>16: PnP ID String: usb=vid 040a&amp;pid 601d=0000000000000000={6bddlfc6- 810f- 11d0- bec7- 0800 2be2092f} </li>
  <li>17: STI Driver Version: 3 </li>
  <li>4125: Item Category: {F193526F- 5988- 4A26- 9888- E16E4F97CE10} </li>
  <li>1026: Firmware Version: 0 </li>
  <li>3086: Document Handling Capabilities: 8229 </li>
  <li>3087: Document Handling Status: 5 </li>
  <li>3095: Max Scan Time: 3600000 </li>
  <li>3090: Horizontal Optical Resolution: 600 </li>
  <li>3091: Vertical Optical Resolution: 600 </li>
  <li>3103: Show preview control: 0 </li>
  <li>3098: Page Width: 8500 </li>
  <li>3099: Page Height: 14000 </li>
  <li>3096: Pages: 0 </li>
  <li>3076: Horizontal Sheet Feed Size: 8500 </li>
  <li>3077: Vertical Sheet Feed Size: 14000 </li>
  <li>3088: Document Handling Select: 1 </li>
  <li>3078: Sheet Feeder Registration: 1 </li>
  <li>3104: Minimum Horizontal Sheet Feed Size: 1000 </li>
  <li>3105: Minimum Vertical Sheet Feed Size: 1000 </li>
  <li>3100: Preview: 0 </li>
  </ul>
  
  <p>The scanner drivers are updated.</p>