Activating an image scanner.

I am writing an application and need to activate an image scanner from the program using a button built into the program.Could someone please let me know how to achieve this.Thanks
[187 byte] By [cotonsky@sun.coma] at [2007-9-29 9:45:54]
# 1

You can try the Java Twain from http://www.gnome.sk

Nowadays, this product is going to be replaced with the Morena - Image Acquisition Framework for Java(tm) Platform .

Both in Java Twain and in Morena there is a tutorial which will help you much to try out your camera or scanner from java application whithin few minutes.

As for activating an image scanner from the program using a button built into the program, get inspired by the code of the example WebStartUpload.java from the JavaTwain (Morena) package.

Erika

Eka_Kupkovaa at 2007-7-14 23:16:50 > top of Java-index,Other Topics,Java Community Process (JCP) Program...
# 2

> I am writing an application and need to activate an

> image scanner from the program using a button built

> into the program.Could someone please let me know how

> to achieve this.Thanks

Hi,

You can try a package named: JTwain, which is available at http://asprise.com/product/jtwain.

JTwain supports all kinds of digital cameras and scanners. You can use Java to access, contorl digital cameras and scanners, and of course, to acquire images with flexible settings.

The developers' guide is available @ http://asprise.com/product/jtwain/devGuide.php

In the simplest case, one line of Java code can solve your problem.

Good luck!

jackwinda at 2007-7-14 23:16:50 > top of Java-index,Other Topics,Java Community Process (JCP) Program...