Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How does Java interact with scanner device drivers?

 
Jon McDonald
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I've got a project at work that requires me to write an application that gets files made by a scanner. I DO NOT need to be able to view the image created.
All I need to do is this: interact with a document scanner which is using either ISIS or TWAIN device drivers. Create a file based on the document that they have scanned, and move the file to another location.
The only thing I need to know is how does the Java app create the file from the scanner? Does one or both of those drivers provide an OutputStream that can be accessed by Java? If not, how does Java manipulate them? Any help would greatly be appreciated.
JON
 
Erik Pragt
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I would suggest taking a look at this website:
http://www.gnome.sk/
They provide TWAIN support for java. I als read that you cannot use the JMF for that, but I read it in articles dating 1999, so I'm not sure if things have changed.
Erik
 
Jon McDonald
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks alot for the info.
I checked out the site. Looks pretty thorough. I think that is what I am looking for (either that, or use JNI to write the interface to the TWAIN driver myself).
Jon
 
John Lee
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Erik Pragt:
I would suggest taking a look at this website:
http://www.gnome.sk/
They provide TWAIN support for java. I als read that you cannot use the JMF for that, but I read it in articles dating 1999, so I'm not sure if things have changed.
Erik

Thanks, Erik!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic