Home › Forums › TWAIN Classic › How to develop a twain driver using C#?
- This topic has 5 replies, 4 voices, and was last updated 7 years, 4 months ago by SARAFF.
- AuthorPosts
Hello
One of our customers want us to develop a twain driver for a I2s CopyBook scanner. Unfortunately, none of us have any experience doing this kind of job. I took a look at the Twain specification v2.3, however, it seems, it is too much to understand in a couple of hours.
Our team is comfortable writing C# code and the scanner manufacturer (I2s) provides a C# dll. They also provide a TWAIN driver, however, it is pretty basic and our customer wants more control over the scanning process.
Is it possible to use the TWAIN for C-Sharp project in order to develop a new TWAIN driver for the scanner?
Considering our lack of experience, do you think is possible to do it in a couple of weeks?I know this is a very open question, however, I am just looking for some general guidance about the correct direction to follow and your opinion about the possibility of finishing this project successfully.
I will really appreciate any help, comments or suggestions.
Regards
C# can be used for driver, but an ANSI-C entry point called DS_Entry() must be exposed by the .ds file so that the data source manager can connect and communication with the driver.
http://sourceforge.net/projects/twain-samples/
This is a code written in C++, which includes a sample application and data source. Building off of this code will reduce your development time.TWAIN on C# is meant for applications, but the TWAINH.CS and possibly the TWAIN.CS modules could be used to help with or to better understand how to develop a TWAIN driver.
Thank you so much for your time.
Kind regards
Try use Saraff.Twain.DS (https://twainds.codeplex.com/).
Saraff.Twain.DS is the skillful class library which allows you to design drivers (a Data Source) of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.@SARAFF wrote:
Try use Saraff.Twain.DS (https://twainds.codeplex.com/).
Saraff.Twain.DS is the skillful class library which allows you to design drivers (a Data Source) of flatbed scanner, web and digital camera and any other TWAIN device from .NET environment. You can use this library in your programs written in any programming languages compatible with .NET technology.Hi! Can I design a driver of high speed scanner(with ADF(Automatic Documents Feeder)) by using Saraff.Twain.DS?
Hello, Deskew.
Certainly possible.- AuthorPosts