in reply to Control flatbed scanner

Check out the SANE project at It has backends for many different platforms and a whole lot of frontend utilities too. I'm not sure if they have a Perl interface, but they have command-line utilities, and you can sure use Perl to drive those!

FYI, using TWAIN is like shooting at a moving target. Yeah, there's a standard, but it's reasonably loose, and not all TWAIN drivers have all the features you'd like them to have. I'm fighting with my own battles with TWAIN in another development environment. . .

Good luck!

Replies are listed 'Best First'.
Re^2: Control flatbed scanner
by zzspectrez (Hermit) on Aug 14, 2005 at 22:48 UTC

    Ok, this looks promising. It looks like their is minimal support for compiling sane under CYGWIN for windows. Currently, the compile fails due to lack of libusb. So I found a port of libusb-win32 but it says it doesnt support CYGWIN. :( Google searches show some sucess with getting the above to work together, so I will keep trying.

    If I get it working, I will come back with an update.

    Have you by chance got sane working under windows with a usb scanner?

      Unfortunately, no. It's been a while since I've had occasion to play with SANE, but I really enjoyed working with it when I did.

      My Windows experiences with TWAIN have all involved proprietary drivers and managers :( Given some problems my current project is facing, I might have to change that.

      Good luck :) Please do post an update when you get a chance.