Ratnavel Sundaramurthi
2008-Apr-04 11:41 UTC
How to integrate a scanner to rails application
Hi, I have a requirement of integrating a scanner with my application. I found some interface called TWAIN to scan a file and communicate with my application. Any other way is there to integrate our rails applications and Scanner.. Thanks, Ratnavel -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 04 Apr 2008, at 13:41, Ratnavel Sundaramurthi wrote:> I have a requirement of integrating a scanner with my application. > > I found some interface called TWAIN to scan a file and communicate > with > my application.TWAIN is just an image capture API that allows applications to interface with scanners in a uniform way. Browsers don''t have TWAIN integration.> Any other way is there to integrate our rails applications and > Scanner..Integrating a scanner with a web application (being hosted on a centralized server) is not the same as with a desktop application. There are two possible options that are truly crossbrowser and crossplatform IMHO: - Let the user use his own scanner software scan in the document, save it as an image on his local desktop and then upload it using a form to store it in the application. This is going to be the easiest way to integrate scanning into your web app and the scanner is going to be very cheap - Buy one of those expensive scanners with built-in WebDAV, SMB networking or FTP capabilities and make it upload all scans into some directory on the web application server. Then have a cron tab or backgroundrb process periodically scan the folder for new files, import those into your Rails application and database (for example in an "inbox"), ready for sorting. Best regards Peter De Berdt --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You can use a java plugin just for the scanning page. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/92e5f9bff5c17b81a583a5f7f4d80eb5%40ruby-forum.com?hl=en-US. For more options, visit https://groups.google.com/groups/opt_out.