Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
using Ruby to control a scanner on Windows
James Dinkel
10/1/2008 7:08:00 PM
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
--
Posted via
http://www.ruby-...
.
1 Answer
John Pritchard-williams
10/2/2008 11:29:00 AM
0
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
James Dinkel wrote:
> 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
--
Posted via
http://www.ruby-...
.
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
using Ruby to control a scanner on Windows
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password