I am trying to find how get the native TWAIN libraries to use in a Java Application(JNA). Where or how can I obtain these? Do I need to register as an “Scanner Application Developer” at http://twain.org/register/ in order to obtain them?
Can I get more information about being a member? For example, what are terms for use, freely distributed with my application etc.
Hi Jason – there is lots of information (admittedly you sometimes have to dig) about membership in the TWAIN Working Group, on the http://twain.org website – look for ‘Membership’ links.
However, you don’t need any license or permission to write an application that uses the TWAIN API.
The library you need to talk to is the TWAIN Data Source Manager (DSM), which is a dynamically-loaded library, available from SourceForge:
The TWAIN specification describes the entry points of that library (DLL, on Windows) but – using C as the reference language.
So to call the DSM, you need to understand both the DSM entry points and JNA quite well.
I recommend searching for example JNA code that talks to TWAIN, because it will save you a lot of work.
This article, for example, looks quite thorough: