[sane-devel] Is it possible with sane? (newbie question) - Please help
Jon Chambers
jon at jon.demon.co.uk
Fri Apr 11 21:59:19 UTC 2008
Hi Ratnavel,
If you have reasonable familiarity with C programming then there are rather
convenient ways to directly call into shared libs from ruby (via the dl
module). Therefore it should be possible to interface to SANE backends
direct from ruby.
Probably easier to write a wrapper around an existing commandline SANE
frontend such as scanimage though.
SANE is primarily aimed at unix-like OSs, however you may be able to get it to
work from Windows using a cygwin environment.
cheers,
Jon
On Friday 11 April 2008, ratnavel ps wrote:
> Hi,
>
> I'm a ruby on rails developer, I have a requirement to integrate a scanner
> or any twain compliant device to my application.
>
> My environment is this,
> Language: Ruby
> Framework : Rails (Simply ROR)
> Develop envi OS: Win XP
> Server OS: Linux
> Production OS: Both Unix and Windows
>
> Is it feasible to carry out this with Sane?
>
> After exploring on Twain i found it is not possible as it is specific to
> Microsoft's products (Win XP and IE)
>
> Donno how to start and from where to start. It would be more helpful. If u
> could suggest me how to carry out this task.
>
> Thanks,
> Ratnavel
--
====================== Jon Chambers =====================
http://www.jon.demon.co.uk, 020 8575 7097, 07931 961669
=========================================================
More information about the sane-devel
mailing list