I have a MFC-J985DW.
When using the flatbed, all is good at 150 dpi.
When using the feeder as the source, I get only the center of each page at 150 dpi.
At 300 dpi it gets the entire 1st page, but gets the following for page 2:
NAPS2.Scan.Exceptions.ScanDriverUnknownException: An error occurred with the scanning driver. ---> System.Runtime.InteropServices.COMException: This operation returned because the timeout period expired. (Exception from HRESULT: 0x800705B4)
at WIA.ItemClass.Transfer(String FormatID)
at NAPS2.WinForms.FScanProgress.<fscanprogress_shown>b26_0(WiaState wia)
--- End of inner exception stack trace ---
at NAPS2.Scan.Wia.WiaApi.ThrowDeviceError(COMException e)
at NAPS2.Scan.Wia.WiaApi.ThrowDeviceError(Exception error)
at NAPS2.Scan.Wia.ForegroundWiaTransfer.Transfer(Int32 pageNumber, WiaBackgroundEventLoop eventLoop, String format)
at NAPS2.Scan.Wia.WiaScanDriver.TransferImage(WiaBackgroundEventLoop eventLoop, Int32 pageNumber, Boolean& cancel)
at NAPS2.Scan.Wia.WiaScanDriver.<scaninternal>d</scaninternal>13.MoveNext()
at NAPS2.Scan.ScanPerformer.PerformScan(ScanProfile scanProfile, ScanParams scanParams, IWin32Window dialogParent, ISaveNotify notify, Action`1 imageCallback)</fscanprogress_shown>
Windows Sacn has similar troubles.
Windows Fax & Scan however gets all the pages OK.
Enviroment: Windows 10, scanner and PC both on WiFi.
Have you tried using TWAIN instead of WIA?
TWAIN is ghosted.
At attempt with the Mac OS scan app, on the same setup, worked great.
Try reinstalling the driver from here and see if it then works with TWAIN:
http://support.brother.com/g/b/downloadend.aspx?c=us&lang=en&prod=mfcj985dw_us_eu_as&os=7&dlid=dlf102001_000&flang=4&type3=405
Do you recommend the "optimized for USB" driver for my case, which is wifi connection?
Here's another run of page 2. It appears the 2nd page gets fed through the feeder prior to the scan operation for page 2 starting:
NAPS2.Scan.Exceptions.ScanDriverUnknownException: An error occurred with the scanning driver. ---> System.Runtime.InteropServices.COMException: This operation returned because the timeout period expired. (Exception from HRESULT: 0x800705B4)
at WIA.ItemClass.Transfer(String FormatID)
at NAPS2.WinForms.FScanProgress.<fscanprogress_shown>b26_0(WiaState wia)
--- End of inner exception stack trace ---
at NAPS2.Scan.Wia.WiaApi.ThrowDeviceError(COMException e)
at NAPS2.Scan.Wia.WiaApi.ThrowDeviceError(Exception error)
at NAPS2.Scan.Wia.ForegroundWiaTransfer.Transfer(Int32 pageNumber, WiaBackgroundEventLoop eventLoop, String format)
at NAPS2.Scan.Wia.WiaScanDriver.TransferImage(WiaBackgroundEventLoop eventLoop, Int32 pageNumber, Boolean& cancel)
at NAPS2.Scan.Wia.WiaScanDriver.<scaninternal>d</scaninternal>13.MoveNext()
at NAPS2.Scan.ScanPerformer.PerformScan(ScanProfile scanProfile, ScanParams scanParams, IWin32Window dialogParent, ISaveNotify notify, Action`1 imageCallback)</fscanprogress_shown>
The TWAIN "Chose Device" button says "No scanning device was found".
Last edit: Bryce Nesbitt 2018-08-27
Similar report at https://sourceforge.net/p/naps2/tickets/315/
Okay, it's probably that TWAIN doesn't work with the network interface.
In your profile settings, under Advanced, you could try "Delay between scans" and see if that has any effect.
Other than that, unfortunately I don't think there's anything I can do. The problem is in the WIA driver which is external to NAPS2. Windows Fax and Scan has some special sauce that I don't have access to.
Same result with Brother MFC-J480DW
Only the WIA driver is available.
After a filed scan, it stops working completely. Reports "No scanning
device found" until Windows 10 is rebooted.
Restarting the spooler service (probably the wrong service) does nothing.
On Mon, Aug 27, 2018 at 4:34 PM Ben Olden-Cooligan ben-cyanfish@users.sourceforge.net wrote:
Related
Tickets: #487
With the Advanced->Delay options it's different. The first page scans OK.
The rest feed without scanning, then the scanner driver locks up.
On Tue, Oct 23, 2018 at 12:12 PM Bryce Nesbitt bryce2@obviously.com wrote:
Related
Tickets: #487
Still true.
Could I buy you a Brother printer, for your testing purposes?
Hi,
With my model, I see two options when selecting a device:
With the first one I get similar behaviour (the first page scans fine, the second page gives a busy error and it pulls the rest of the pages without scanning; Windows Fax & Scan works).
The second one works for me.
Questions:
1. Do you only have the one option?
2. If so, does (re)installing the full software package make any difference? (You should be able to select Custom and only choose the printer/scanner drivers to avoid the other cruft.)
If not, I will attempt to get the first device option working from NAPS2 if possible.
I have only one option.
There is a LOT of cruft in that "full driver".
Quick update: I think I understand the root cause of the issue and will be able to fix it. It'll still be a fair bit of work though.
What's the ten cent version of the underlying issue?
On Wed, Nov 7, 2018 at 9:55 AM Ben Olden-Cooligan ben-cyanfish@users.sourceforge.net wrote:
Related
Tickets: #487
WIA has a low-level Windows API that provides the core functionality. However, it is a pain to use, so pretty much all WIA-based software (including NAPS2) uses a COM abstraction provided by Microsoft.
The COM interface is only capable of providing one page per transfer operation; so if you want to scan multiple pages, you do multiple transfer operations. However, some drivers don't handle this properly - when you try to start a second transfer operation for the second page, you get various issues.
If I bypass the COM interface (and duplicate some of its functionality), I can build it so that it can handle multiple pages in a single transfer operation. That is fully supported in the low-level Windows API. Windows Fax and Scan is built in this way, which is why it works.
Hi,
I have a version ready for testing. Could you try the attached version and let me know if it works for you?
Some things to test:
- With predefined settings
- With native UI
- With the flatbed
- With the feeder
- I don't know if you have any duplex scanners, but if so, with duplex
- With WIA Version 1.0 (under Advanced) - this should reproduce the issue you had before
Thanks,
Ben
I've published the change in the latest version, 6.0b4 (and will make a non-beta version with it in the next couple weeks). Thanks again.
Thanks!
Right now I can't get NAPS2 to work on either of my two Brother machines at all.
Windows Fax & Scan does not work either. The Brother utility and a Mac OS X box work fine. It's all pain, and I've mostly switched to using the Mac and transferring the result to Windows.