Does Java have a simple (relatively) API for accessing a scanner? For example, I have a program in which I would like to scan in supporting documents of some type.
The simple answer is no. Java tries to be platform neutral which it can't really do if it is interacting with low level scanner drivers that are entirely hardware specific.
This is quite clearly a case where Java isn't the best solution for your problem.
There is no 'scanner API'. If you wanted to interact with a scanner from Java, you would have to write your own API by creating a JNI wrapper around the scanner dll(s) so that you could call to the scanner native code from within java. This of course assumes that you can get a SDK from the scanner manufacturer so that you even know what these native calls are.
It is certainly possible but it wouldn't be my first choice.
This time is for use SANE for access to scanners in *nix environments, but from any Java client (1.1 o 1.2 if i remember.) in a client/server mode like.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.