saned를 통해 스캐너를 공유하고
윈도우에서는 TWAIN Data source manager(DSM)를 통해 이 스캐너를 끌어와서
SaneTwain 이라는 윈도우용 Sane을 이용하여 스캔이 가능한듯
TWAIN DSM은 다운받은후 c:\windows\system32에 dll을 복사하고
TWAIN Data Source Manager [DSM],
compliant with version 2.1 of the TWAIN specification.
[Windows]
The TWAIN DSM is a shared library named TWAINDSM.DLL.
There is a 32bit and a 64bit version of this file. TWAINDSM.DLL is installed in the Windows System directory (normally C:\Windows\System32).
If installing the 32bit file on a 64bit system,
make sure it ends up in the WOW64 System directory (normally C:\Windows\SysWow64)
sanetwain의 SaneTwain.ds 파일은 c:\windows\twain_32 에 복사한다.
Put the SaneTwain.ds file in the twain_32 folder of your Windows system folder . If you don't have a twain_32folder, your computer might not have TWAIN installed, see the TWAIN website for details on downloading the TWAIN Data Source Manager. Make sure the SaneTwain.ds file has execution rights set.
SaneTwain 시작하면 설정에 아이피나 호스트이름 넣어주고
우분투 서버 쪽의 /etc/sane.d/saned.conf에 설정한 port 번호와
/etc/default/saned에 설정한 RUN_AS_USER를 Username에 넣어준다.
요건 일단 Windows7 에서 인식에 성공한 화면
Windows7에서는 위의 ds 파일이나 twaindsm.dll 파일을 복사하지 않아도 아이피와 유저, 포트만 맞추어 주면 인식한다.
This doesn't mean anything ! A scanner is NOT TWAIN compatible. The Windows driver provided with the scanner is probably TWAIN compatible, so that TWAIN compatible Windows applications can use them. The only way to have a scanner become TWAIN compatible under other OS would be to have a driver for this scanner that speaks TWAIN with the applications. But, there is no TWAIN compatible application outside the Windows and Mac world. SANE developers have chosen to use the SANE API instead of TWAIN for scanner access. See http://www.sane-project.org/intro.html for a word about this. You can read a TWAIN FAQ, if you want, at http://www.twain.org/faq.htm
There was a discussion between the TWAIN Working Group and some SANE-people. For more information, see: http://www.twain.org/docs/twain_20_unix.htm (Note the date) Technical issues ( needed/wanted changes for the TWAIN interface) may be resolved in the V2.0 specs of SANE
Also, you can use sanecgi which wraps the text based frontend (scanimage) into a cgi perl script. For a running demo, try http://www.boutell.com/sanecgi/