Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

How does Java interact with scanner device drivers?

 
Ranch Hand
Posts: 167
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 2545
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic