On Aug 19, 2011, at 6:46 AM, Hema wrote:
Hi everyone, After a long back I am again using ROR,Could you please anyone can help me how to invoke the client side resources such as scanners and printers using ROR? Actual requirement is the user scans a document(containing 10 to 100 pages) in his client machine(here the whole document should be in one file like pdf or tif, not individual files) and the preview the document to be shown for him/her. He/she can edit(means rotate/rescan single page/flip/annotate/crop etc;) the scanned image and when user clicks the submit the image has to be saved in Server Database on fly without storing a copy in client machine(not even a temporary file). Can anyone suggest me is there a way out in ROR to acheive this requirement? If so what are the requirements and how to obtain?
Ruby and Rails won't be much use in solving this problem. Frankly, I don't know of any way to accomplish this in a Web environment. Your users will have to have their own way of creating a file out of the printed pages, whether that be a digital camera, a scanner, whatever. Once the file is in a binary format, you can easily use Rails and Paperclip or CarrierWave or just plain old file_column to upload and store that file. But there are so very many different ways to access and run a scanner across platforms, operating systems, and versions of either, that it would be pretty near impossible to have one system (like maybe a Java applet) served from your site that could handle them all.
Walter -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

