Home › Forums › TWAIN Classic › Using Twain Module in x64 Windows with Python
- This topic has 2 replies, 3 voices, and was last updated 5 years, 1 month ago by lisha.
- AuthorPosts
I have installed twain using in this link(https://github.com/denisenkom/pytwain) . I have 64 bit Windows and 64 bit Python. Then I have downloaded and installed twain dsm for 64 bit windows(http://sourceforge.net/projects/twain-dsm/) . I have a folder C:Windowstwain_32 (but not twain_64). I copied the 32 bit twaindsm_dll into SysWov64 and 64 bit twaindsm_dll into System32 . When I write code in python and execute the application, datasource selecting windows opens but nothing to show . I decided to test to scanner device drivers. For this purpose I have installed TWACKER . When I execute the 32 bit TWACKER the scanner device shows in the window and I can connect to it . But when I execute the 64 bit TRACKER , the window opens but there are no scanner device to show . So what is the problem ? Why can’t I use it 64 bit ?
You need a 64-bit TWAIN driver, if you want to run with a 64-bit process. Not all scanner manufacturers support this. If they do, you’ll see their drivers in the C:Windowstwain_64 folder. You can’t just copy those files from 32-bit.
Check out this link for a list of scanners that natively support 64-bit.
http://twain.org/about-twain/deviceslishaI am writing an python application using twain module on 64 bit window OS with python 3.5. It shows the same empty list in the dialog window. I think the twain module has looked for twain_64 and there is no such folder. that is why no sources are listed.
How can I force the twain module in python to look into twain_32 folder instead twain_64? What kind of parameter do i need to set?
- AuthorPosts