Hi, I haven't seen recent information on wine and twain. I already sent a similar mail to wine-users and, in a second step to wine-devel, but without any information back until now.
May be the trick "Wine and twain" to "Wayne and twin" will give me more chance to be listen. Or may be my question is really stupid?
From a recent mail that I got, the problem is of interest for at least
another people too. To be honest, she was at an earlier stage of installing Fine Reader and nothing came up for her wine installation. My problem is accessing the scanner from Fine Reader. I am not a specialist of Wine and simply use Winetools basic installation to install my fake drive, and then use standard wine to install all my Windows programs, including Noteworthy Composer recently (with timidity as midi synthesiser as reported on apps-db) and Fine Reader.
Here is the question:
I am trying to test a Finereader Office (version 5) with an USB scanner. Everything seems working. But I get scanner not ready when searching for scanner. Sane, gimp or whatever program using sane are working well with my scanner.
Doing WINEDEBUG=+loaddll wine finereader.exe I get: ... trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 5.0 office\scan\scanman0.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\ \msvcrt.dll" : builtin trace:loaddll:MODULE_FlushModrefs Unloaded module L"c:\windows\system\ \msvcrt.dll" : builtin err:module:load_builtin_dll loaded .so for L"Twain.dll" but got L"twain_32.dll" instead - probably 16-bit dll trace:loaddll:MODULE_LoadModule16 Loaded module "c:\windows\ \Twain.dll" : builtin Scanning driver not ready.
But the scanner is ready: # sane-find-scanner -v
searching for USB scanners: checking /dev/usb/scanner... failed to open (Invalid argument) checking /dev/usb/scanner0... failed to open (Invalid argument) ... checking /dev/usbscanner15... failed to open (Invalid argument) found USB scanner (vendor=0x03f0 [hp], product=0xb402 [photosmart 7700 series]) at libusb:002:002 found USB scanner (vendor=0x04b8 [EPSON], product=0x010f [EPSON Scanner 010F], chip=LM9832/3) at libusb:001:003
# scanimage -L device `plustek:libusb:001:003' is a Epson Perfection 1250/Photo USB flatbed scanner device `net:localhost:plustek:libusb:001:003' is a Epson Perfection 1250/Photo USB flatbed scanner
Thus the device is something like "plustek:libusb:001:003" and # scanimage -d plustek:libusb:001:003 >foo.pnm works.
Is there any wine test (windows exe) in order to test twain?
What can I do to go further
Regards, Nicolas
Hi,
On Tue, Apr 05, 2005 at 12:21:10PM +0200, Brouard Nicolas wrote:
What can I do to go further
At a minimum, it'd be useful to post logs with the +twain channel added.
twain.dll support seems to be very old (Corel!!), so it's quite easily imaginable that something broke in the meantime or that several parts are not implemented yet.
Note that I don't know anything about our twain support, though.
Andreas Mohr
Le mardi 05 avril 2005 à 14:56 +0200, Andreas Mohr a écrit :
Hi,
On Tue, Apr 05, 2005 at 12:21:10PM +0200, Brouard Nicolas wrote:
What can I do to go further
At a minimum, it'd be useful to post logs with the +twain channel added.
twain.dll support seems to be very old (Corel!!), so it's quite easily imaginable that something broke in the meantime or that several parts are not implemented yet.
Many thanks for the answer. Which lets me think that it could (should?) work. In fact, in a couple of minutes, I just downloaded the Try&Buy version 7 pro at http://download.abbyy.com/content/default.aspx and installed it without a problem with wine (winetools basic fake drive).
Before a new installation I usually do: $ cp -dilpR ~/.wine ~/.wine-before-FineReader7 in order to save my wine configuration with hardlinks in order to save disk space. If something is wrong, I am back with the earlier version.
I installed the English, French, Spain trial version.
Now I tried to run with the +twain and went to the "scan page" menu and click to scan a page. Here is the output:
$ WINEDEBUG=+twain,+loaddll wine /home/brouard/.wine/drive_c/Program\ Files/ABBYY\ FineReader\ 7.0\ Professional\ Edition/FineReader.exe trace:loaddll:load_dll Loaded module L"c:\windows\system\ \advapi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\gdi32.dll" : builtintrace:loaddll:load_dll Loaded module L"c:\windows\system\ \user32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\msvcrt.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\ \shlwapi.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\ \comctl32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \shell32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \winspool.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \comdlg32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\ \RPCRT4.dll" : nativetrace:loaddll:load_dll Loaded module L"C:\windows\ \system\msi.dll" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\FineObj.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\ole32.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\ \OLEAUT32.dll" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\FineObjFC.dll" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\Langinfo.dll" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\Morphology.DLL" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\TRS.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\mpr.dll" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "keyboard.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \x11drv.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\imm32.dll" : builtintrace:loaddll:load_dll Loaded module L"c:\windows\system\ \lz32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \version.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\morphores3.dll" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\program files\ \abbyy finereader 7.0 professional edition\morphores3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\shell3.dll" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\program files\ \abbyy finereader 7.0 professional edition\shell3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\morphores3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\shell3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\engine3.dll" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\program files\ \abbyy finereader 7.0 professional edition\engine3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\engine3.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\ \shfolder.dll" : native trace:loaddll:load_dll Loaded module L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\ShellRes.dll" : native fixme:thread:NtSetInformationThread Set ThreadImpersonationToken handle to (nil)fixme:thread:NtSetInformationThread Set ThreadImpersonationToken handle to 0xd8 trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\engine.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\image.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\pdf.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\recognizer.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\recpage.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\regexp.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\splrt.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\export.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\da.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\synthesis.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\barcode.dll" : native err:x11drv:X11DRV_CreateWindow invalid window height 2147483647 trace:loaddll:load_dll Loaded module L"c:\windows\system\ \uxtheme.dll" : builtin err:listview:LISTVIEW_WindowProc unknown msg 2005 wp=00000001 lp=00000000 fixme:listview:LISTVIEW_SetColumnOrderArray iCount 7 lpiArray 0x41ca91a4 trace:loaddll:load_dll Loaded module L"c:\windows\system\ \advapi32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\gdi32.dll" : builtintrace:loaddll:load_dll Loaded module L"c:\windows\system\ \user32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \comctl32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\ \RPCRT4.dll" : nativetrace:loaddll:load_dll Loaded module L"C:\windows\ \system\msvcrt.dll" : nativetrace:loaddll:load_dll Loaded module L"C:\ \windows\system\shlwapi.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\ \shell32.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\windows\system\ole32.dll" : native trace:loaddll:load_dll Loaded module L"C:\windows\system\ \OLEAUT32.dll" : native trace:loaddll:MODULE_LoadModule16 Loaded module "krnl386.exe" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "system.drv" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "GDI.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "USER.EXE" : builtin trace:loaddll:MODULE_LoadModule16 Loaded module "keyboard.drv" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \x11drv.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\imm32.dll" : builtintrace:loaddll:load_dll Loaded module L"c:\windows\system\ \lz32.dll" : builtin trace:loaddll:load_dll Loaded module L"c:\windows\system\ \version.dll" : builtin trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\scan\scanman3.dll" : native trace:loaddll:MODULE_FlushModrefs Unloaded module L"C:\program files\ \abbyy finereader 7.0 professional edition\scan\scanman3.dll" : native trace:loaddll:load_dll Loaded module L"C:\program files\abbyy finereader 7.0 professional edition\scan\scanman3.dll" : native trace:loaddll:load_dll Loaded module L"c:\windows\system\ \msvcrt.dll" : builtin trace:loaddll:MODULE_FlushModrefs Unloaded module L"c:\windows\system\ \msvcrt.dll" : builtin err:module:load_builtin_dll loaded .so for L"Twain.dll" but got L"twain_32.dll" instead - probably 16-bit dll trace:twain:DllMain 0x42600000,1,(nil) trace:loaddll:MODULE_LoadModule16 Loaded module "c:\windows\ \Twain.dll" : builtin err:ver:GetFileVersionInfoW Cannot access NE resource in L"C:\Program Files\ABBYY FineReader 7.0 Professional Edition\Scan\Twain\ \Twunk_16.exe"
Note that I don't know anything about our twain support, though.
Also I added the question whether a twain dll test was available. FineReader works fine with tiff image already scanned, but an advantage of Linux over Windows is Sane which lets you share a local scanner by the network. Linux has no professional OCR now.
Many thanks again for your answer. Nicolas
Andreas Mohr _______________________________________________ wine-users mailing list wine-users@winehq.org http://www.winehq.org/mailman/listinfo/wine-users