openpaperwork / paperwork

Personal document manager (Linux/Windows) -- Moved to Gnome's Gitlab
https://gitlab.gnome.org/World/OpenPaperwork/paperwork
2.43k stars 148 forks source link

Fujitsu fi-4120C2, WIA only #590

Open patientimprover opened 7 years ago

patientimprover commented 7 years ago

Hi, first of all, thanks a lot for paperwork!

I'm using paperwork in Windows 7, x64. I have two scanning devices attached:

Brother MFC 7460 DN, works right away via feeder and a Fujitsu fi-4120C2, which is not recognized correctly:

the diagnose output:

WARNING pyinsane2.wia.abstract Failed to access scanner ('{6BDD1FC6-810F-11D0-BEC7-08002BE2092F}\0001', 'fi-4120C2dj') : WIA: Failed to get scanner properties

ERROR pyinsane2.wia.abstract WIA: Failed to get scanner properties

it seems like paperwork is only using WIA to access the device, even though TWAIN drivers are installed.

Is it possible to force paperwork to look for TWAIN only?

kind regards pi

jflesch commented 7 years ago

TWAIN support in Pyinsane (the scan library used by Paperwork) is not planned at all at the moment. Unfortunately, I have no time for it.

WIA should work. You're the second person to report this issue. Either it's related to Windows 7, or I guess I'll have to buy one of those scanners :/

jflesch commented 7 years ago

BTW, I assume your scanner was turned on when you tried ?

patientimprover commented 7 years ago

:-) for sure! thanks a lot for looking at this that quickly! I'll test it using ubuntu and be back inamin.

patientimprover commented 7 years ago

ubuntu 16.04 bit is working besides the already known issue with ADF Duplex is just doing single pages. so this is windows related. any ideas where to tinker to get this up and running?

jflesch commented 7 years ago

Actually, the way to access the scanner on GNU/Linux and Windows is entirely different. Pyinsane has two totally different implementations depending on the OS (WIA or Linux (libsane)). So this can still be a bug in the WIA implementation of Pyinsane.

jflesch commented 7 years ago

At this point, the problem is that I would need more detailed information. It would mean installing a Python interpreter + Pyinsane, which can be a hassle on Windows if you're not already familiar with Python..

jflesch commented 6 years ago

Fujitsu appears to provide only TWAIN and Isis drivers. I have recently realized that a lot of manufacturers actually still provide only TWAIN drivers for their scanners (Brother DS-620 for instance), even though Microsoft is obviously pushing for WIA.

So the problem here would be the lack of TWAIN support in Pyinsane/Paperwork.