4

I am working at a desktop project (develop with swing) which works with wide range of old and new scanner devices. We want an open source and free library that can work with scanner devices. Scanner standards like Twain , ... are not important for us, supporting wide range of scanner under Windows (XP and 7) is very important for us. Please share your experience about this subject with me.

Thanks.

Saeed Zarinfam
  • 9,818
  • 7
  • 59
  • 72

3 Answers3

4

Well I think TWAIN should be very important to you, because it is the data acquisition standard. Virtually all scanners come with TWAIN drivers giving you a standard interface. So what you really need is a Java TWAIN library. Unfortunately, there is no good open source library.

Out of commercial offerings consider: JTwain and Morena. I think Morena has a "Personal Licence", which is free, but not suitable for a commercial project.

You can also try these JARs from here. They were developed by someone on the net whose site is now dead, but you can reverse engineer it with JAD quite easily to get the API list.

Strelok
  • 50,229
  • 9
  • 102
  • 115
  • 1
    Actually used Morena and is very good – Alex Jan 13 '15 at 13:22
  • The JARs mentioned were in the openbizcard project on Google Code. That project has been migrated to github numerous times, one of which is [here](https://github.com/deeiip/openbizcard/tree/master/integrated/Scanner/src/com/yov/scanner/lib). – Pixelstix Sep 26 '19 at 18:35
1

I don't know about open source, but you use to be able to get a "personal" license for Morena 6 which was free.

MadProgrammer
  • 343,457
  • 22
  • 230
  • 366
  • So, this was post at the same time as one other answer, and before another, yet it’s the only one to attract a down vote, how curious – MadProgrammer Aug 07 '17 at 13:40
1

You really want TWAIN support. Coding to a device specific API is not very reusable. If you are looking for a free solution and are familiar with JNI then I wrote an article with the most basic solution and free source code for Java and C++. The article is here. If you are looking for a low cost solution then you may try JTwain