Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Control flatbed scanner

by MrCromeDome (Deacon)
on Aug 14, 2005 at 06:31 UTC ( [id://483667]=note: print w/replies, xml ) Need Help??


in reply to Control flatbed scanner

Check out the SANE project at http://www.sane-project.org. 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!
MrCromeDome

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?

    zzSPECTREz
      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.
      MrCromeDome

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://483667]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-25 09:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found