64bit - TWAIN/WIA implementation for JAVA -


i working on application(java applet) interacts scanner. understand need twain library or wia library make work in windows. not sure differences of two? trying use library:

http://thorntonzone.com/manuals/compression/fax,%20ibm%20mmr/mmsc/mmsc/uk/co/mmscomputing/device/twain/index.html

jar file link broken got here. http://rsbweb.nih.gov/ij/plugins/twain-scan.html

and dlls here: http://sourceforge.net/projects/twain-dsm/?source=dlp

but, not detect source. here error log:

http://pastebin.com/cb9gl0ip

i on 64bit machine. had success?

twain specification long follow , haven't found resources on wia implementation.

any help/pointers/resources appreciated.

use same bit mode

for twain device control in java, all components need in same mode. i.e. jre, twain dsm (source manager), , twain driver (scanner driver) all need 32-bit or 64-bit. no mixing.

the default installation of 64-bit windows contains 32-bit mode of twain dsm. , you've downloaded 64-bit dsm. it's scanner's driver 32-bit , why cannot found.

you have 2 options:

keep 64-bit.

  • use 64-bit twaindsm.dll.
  • make sure jre/jdk 64-bit.
  • make sure scanner has 64-bit driver.

my scanner doesn't have 64-bit driver available, tested 64-bit configuration using 64-bit "virtual scanner" , worked.

keep 32-bit (recommended)

  • use 32-bit twaindsm.dll.
  • make sure jre/jdk 32-bit.
  • use scanner's 32-bit driver (probably default).

you can download 32 , 64 bit twain virtual scanners here.

note: mention jdk because if you're running code ide may pointing different jre to system default. true story, happened me.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -