using Ruby to control a scanner on Windows

J

James Dinkel

Does anybody know if it is possible to control a flatbed or sheetfed
scanner from Ruby, on Windows XP? My goal is to be able to place a
paper on the scanner and then just start a Ruby script that would start
up the scanner, resize the image (with rmagick), and then save the image
to a file. I need so guidance on how to control the scanner though.

James
 
J

John Pritchard-williams

James,

You'd probably need to write a 'C' wrapper for this. Or else perhaps use
some library to send commands via the serial-port (if that is indeed how
it is connected). (I don't know if there is a 'serial-port' library /
gem available for Ruby or not)

Cheers

John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top