VintaSoft Twain .NET SDK 15.3: Documentation for .NET developer
In This Topic
    How to get information about custom capabilities of TWAIN device?
    In This Topic
    TWAIN device parameters can be changed using the device capabilities. List of standard device capabilities is specified in TWAIN specification. Also TWAIN specification allows the device vendors to create the custom device capabilities.

    Only Kodak provides good public information about the custom device capabilities of their scanners. Information about all capabilities of Kodak scanners can be found in Kodak TWAIN Integrator Kit. The Kodak TWAIN Integrator Kit can request on Kodak's web site.

    The user interface of TWAIN driver provides many features, for example, Canon scanners allow to set the color mode parameter and detect the color mode automatically. You need to change the standard and custom device capabilities if the color mode parameter need to be used programmatically without driver UI. Unfortunately, Canon does not provide public information about the custom device capabilities and at this point the main problem occurs - we need to know which device capabilities to change for changing the color mode programmatically!

    For getting information about the device capabilities, which must be changed, we need save information about the device capabilities, open the device UI, change the necessary parameter (for example "color mode") in device UI, save information about device capabilities once again, compare saved information and determine which device capabilities were changed!

    Here are necessary steps:

    Source codes of GetInfoAboutCustomDeviceCapabilities application can be downloaded on Github.