Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Getting Java and TWAIN to play together nicely [closed]

I'm working on building an app to scan directly from TWAIN scanner to a Java applet. I'm already aware of Morena and JTwain, but they cost money. I need free. I could re-invent the wheel with JNI, but it seems like someone has probably already done this as a FOSS tool.

Is anyone familiar with a free tool that can get a Java applet to read directly from a TWAIN scanner?

like image 254
jacobko Avatar asked Aug 14 '08 17:08

jacobko


2 Answers

Calling the TWAIN API from anything except C/C++ is going to be a major pain, it relies entirely on complicated C structures that you have to replicate exactly in memory. If you need only fairly basic scanning, you could use something like GitHub site to call my old free 'EZTwain Classic' DLL (google for eztw32.dll)

like image 119
Spike0xff Avatar answered Oct 02 '22 11:10

Spike0xff


hm. I might have some homebrew available for it somewhere I could check, but for now: At our company, we basically gave up on this issue and implemented an (unfortunately win only) ActiveX solution: Site Link

like image 33
mauriciopastrana Avatar answered Oct 02 '22 11:10

mauriciopastrana