views:

290

answers:

2

I am using EZTWAIN from a powerbuilder application to acquire images from an HP scanner. Recently I tried a Kodak model (i1120) and it seems that it is not supported. Specifically the application freezes during the scanning process (perhaps the problem has to do with duplex scanning).

Can you recommend another library that you have used and works ok for you, and provides an easy-to-use wrapper for the TWAIN API that can be used from Powerbuilder?

+6  A: 

Check out this company: http://www.data-tech.com/ we use their ImageMan ActiveX suite with PB 10.5 and it works without a problem.

Douglas Troy
Thank you very much. Have you tried it with scanners which scan both sides of a page simultaneously?
gd047
Yes we have, actually implemented that last year, and it works like a charm.
Douglas Troy
I have noticed that no code samples for powerbuilder are provided. Have you found any?
gd047
Sorry took me this long to respond, been under the weather: I don't know about code examples, but as far as ActiveX controls go in PB, it's just a matter of dropping the control on a form, naming it (e.g., ole_ImageMan) and then using the Methods/Properties exposed on that control (e.g. ole_ImageMan.Picture) Now, PB won't display the property/method names via Intellisense, like VS, so you'll have to make use of their Help files, to get that information.
Douglas Troy
+1  A: 

I had a similar problem with duplex scanning with several libraries. The solution is to use the scanner's interface directly when using duplex scanning instead of the ActiveX component. Most of the libraries have an option that can be enabled on the fly to use the scanner interface.

I currently use the Viscomsoft Scanner Pro ActiveX library.

psant