Wine TWAIN doesn't communicate with SANE (can't use scanner)
Wine TWAIN doesn't communicate with SANE (can't use scanner)
I've got a network scanner that works fine with SANE. I'm trying to scan something from a windows app, but it says that it can't find any scanners. As I understand Wine has its own twain dll files that just communicate with SANE, but this doesn't happen for some reason. I've got wine 1.6.2, libsane 1.0.24-8 and I'm running Debian Jessie. How do I configure it? And is there some wine/sane version combo that is guaranteed to work?
Re: Wine TWAIN doesn't communicate with SANE (can't use scan
I've never been able to get it to work, but I haven't really tried very hard. The only documentation I know of is https://www.winehq.org/docs/wineusr-gui ... ure#AEN957.
Re: Wine TWAIN doesn't communicate with SANE (can't use scan
Heh, yeah, I figured.... Still, some people seem to have this thing running so it's weird. This is my debugger output by the way every time I try to scan something.
err:twain:twain_add_onedriver Source->(DG_CONTROL,DAT_IDENTITY,MSG_GET) failed!
err:ole:COMPOBJ_DllList_Add couldn't find function DllGetClassObject in L"C:\\windows\\system32\\oleacc.dll"
err:twain:twain_add_onedriver Source->(DG_CONTROL,DAT_IDENTITY,MSG_GET) failed!
err:ole:COMPOBJ_DllList_Add couldn't find function DllGetClassObject in L"C:\\windows\\system32\\oleacc.dll"
Re: Wine TWAIN doesn't communicate with SANE (can't use scan
I just realized you said it was a network scanner. Several years ago someone did report getting a network scanner to mostly work by installing the Windows driver and setting twain.dll to native. That might be worth a try. viewtopic.php?f=2&t=2401
Re: Wine TWAIN doesn't communicate with SANE (can't use scan
OK, what I've done so far:
Tried installing windows driver. That didn't run. So I've installed it in virtualbox, traced the changes to files and registry entries and just copied everything into wine. That didn't work, obviously.
Set twain,twain_32, oleacc to native, just copied the win files from virtualbox into wine and changed winecfg
This got rid of twain errors, but I'm still getting oleacc errors (what does it do anyway?). So I went back to trying to install the windows driver the proper way. The installer itself wouldn't run complaining about wrong setupapi. After replacing it with native it moved further a bit, but the new issue is that it's complaining about printer spooler service not running. So I've copied a bunch of dlls and exes mentioned on top of wine printing wiki and set the winecfg, but it still doesn't work. Bummer! So, is there a way to get the printer spooler service to run while I'm doing the install? I'm not even planning to use the printer drivers, only it seems that the scanner drivers won't install without it.
Tried installing windows driver. That didn't run. So I've installed it in virtualbox, traced the changes to files and registry entries and just copied everything into wine. That didn't work, obviously.
Set twain,twain_32, oleacc to native, just copied the win files from virtualbox into wine and changed winecfg
This got rid of twain errors, but I'm still getting oleacc errors (what does it do anyway?). So I went back to trying to install the windows driver the proper way. The installer itself wouldn't run complaining about wrong setupapi. After replacing it with native it moved further a bit, but the new issue is that it's complaining about printer spooler service not running. So I've copied a bunch of dlls and exes mentioned on top of wine printing wiki and set the winecfg, but it still doesn't work. Bummer! So, is there a way to get the printer spooler service to run while I'm doing the install? I'm not even planning to use the printer drivers, only it seems that the scanner drivers won't install without it.