TWAIN Working Group

Quarterly Newsletter Signup       
  • Home
  • About
    • What’s New?
    • Specification & Tools
    • Self Certification Process
    • TWAIN Features
    • TWAIN Direct
    • Membership
    • News
    • Events
    • Logo Usage
    • TWAIN License
    • Contact Us
  • Scanner User
    • Find Drivers
  • Driver Developer
  • Application Developer
  • Scanner Service Provider
  • TWAIN Forums
  • Resources
    • Find Certified Drivers

Using Twain Module in x64 Windows with Python

Forums › TWAIN Classic › Using Twain Module in x64 Windows with Python

This topic contains 2 replies, has 3 voices, and was last updated by  lisha 1 week, 5 days ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • January 19, 2016 at 12:02 am #23048 Reply

    cahit
    Participant
    • Topics - 2
    • Replies - 0
    • Total Posts - 2

    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 ?

    February 10, 2016 at 3:26 pm #26360 Reply

    MarkM
    Participant
    • Topics - 1
    • Replies - 135
    • Total Posts - 136

    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/devices

    February 8, 2019 at 11:36 pm #50817 Reply

    lisha
    • Topics - 0
    • Replies - 0
    • Total Posts - 0

    I 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?

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: Using Twain Module in x64 Windows with Python
Your information:




Quick Links

TWAIN Forums
Membership
Contact Us
Privacy Policy

Newsletter Signup

TWAIN Working Group Family

TWAIN Working Group
TWAIN Direct
TWAIN Resources
TWAIN Certified Drivers
PDF/raster

Recent Topics

  • TwainDSM is crashing
  • TWAIN_SetCurrentResolution(100)
  • How to detect camera capture button without blocking video going to another app
  • Can I save the scanned image as a PDF?
  • Does TwainDSM.DLL Replace Twain_32.dll
  • Contact Us
Privacy Policy • Copyright © 2019 TWAIN Working Group • by iHwy, Inc.

Log in

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.