tags:

views:

94

answers:

0

Hi all I am a newbie in this and I wanted to ask if you could recommend me some articles, examples etc to start with communicating with scanner in java application
I am developing a module that should communicate with different scanners conected directly or in the local network... I would like WIA to start with and com4j..
thanks all for any advices :)

Edit: I came to some informations in this Com4j tutorial, that I need to generate some java type definitions from an ocx file.
If i had understand it, these generated classes will be my client to get the scanner using com4j. But what ocx/dll file shoud I use?
Anyone has idea?

Update 1: so I've managed to get the library to generate the wrapper classes, it was wiaaut.dll (Windows Image Acquisition Automation Library) and then via the ClassFactory I made an DeviceManager instance, but there are no devices in it...
How can I make the deviceManager to see the scanner on the local network?

Update 2: so i've discovered, that my HP LaserJet 2840 cant scan trough the network in win7 64 bit... now this question is answered, should I post the answer myself and set it to accepted, or close this Q other way? thanks