[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[Q] Ruby & TWAIN

bsharpe

11/15/2004 5:08:00 PM

Just curious,

Has anyone tried to access Twain-compliant scanners on Windows via Ruby?

Thanks,

b.
4 Answers

sanat.gersappa

11/16/2004 6:30:00 AM

0

You will need to use the Win32API class to call methods in twain.dll.
Here's a .NET version for guidance -
http://www.codeproject.com/dotnet/twain...



Ben Sharpe wrote:
> Just curious,
>
> Has anyone tried to access Twain-compliant scanners on Windows via
Ruby?
>
> Thanks,
>
> b.

sanat.gersappa

11/16/2004 7:30:00 AM

0

You might also want to check out the newer Windows Image Acquisition
API (it also has an OLE interface)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wiaaut/wia/wiax/overviews/startpage...

sanat.gersappa

11/16/2004 7:30:00 AM

0

You might also want to check out the newer Windows Image Acquisition
API (it also has an OLE interface)

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wiaaut/wia/wiax/overviews/startpage...

timsuth

11/17/2004 11:18:00 AM

0

In article <1100586626.834312.79510@c13g2000cwb.googlegroups.com>,
sanat.gersappa@gmail.com wrote:
>Ben Sharpe wrote:
>>
>> Has anyone tried to access Twain-compliant scanners on Windows via Ruby?
>>
>You will need to use the Win32API class to call methods in twain.dll.
>Here's a .NET version for guidance -
>http://www.codeproject.com/dotnet/twain...

Use the 'dl' library instead of Win32API. It's newer and better.