Menu

#315 NAPS2 not liking Feeders w/ WIA drivers from Win Update

5.X
open
nobody
None
5.4.0
Bug Fix
Medium
WIA
2018-08-27
2017-06-06
Dom Rock
No

Multiple oddities with WIA scanning with feeders (doesn't occur with scanning on glass).

1) Doesn't scan second page onwards, it just pauses for 15 seconds and then issues an error.
2) Skips every second page, ie scans first page, MFC auto-loads 2nd page as first page is finishes, then it runs through 2nd page quickly, after which MFC auto-loads 3rd page, 3rd page scans normally, etc..
3) Generates errors when scanning from feeder:

NAPS2.Scan.Exceptions.ScanDriverUnknownException: An error occurred with the scanning driver. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
   at WIA.ItemClass.Transfer(String FormatID)
   at NAPS2.WinForms.FScanProgress.<FScanProgress_Shown>b__26_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__13.MoveNext()
   at NAPS2.Scan.ScanPerformer.PerformScan(ScanProfile scanProfile, ScanParams scanParams, IWin32Window dialogParent, ISaveNotify notify, Action`1 imageCallback)

This has been happening on multiple computers, with both Brother and HP MFCs, with devices set up using WSD and downloading the Windows Update WIA drivers automatically.

Both machines I tested today ship with vendor driver packages that install and default to TWAIN drivers. NAPS works fine using the TWAIN drivers.

Related

Tickets: #315

Discussion

  • Ben Olden-Cooligan

    WIA in general often has issues with feeders. It isn't something specific to NAPS2.

     
  • Dom Rock

    Dom Rock - 2017-06-08

    No way of working around it? It makes NAPS (although not necessarily only NAPS) useless in small business environments that don't have a scan to email MFC.

     
  • Ben Olden-Cooligan

    Can't you just use the TWAIN drivers?

     
  • Dom Rock

    Dom Rock - 2017-06-08

    Windows Update doesn't install TWAIN versions, they have to be taken from the manufacturer website, and often they can't be installed individually, one needs to install half the printer package and utilities.

     
  • Al Snyder

    Al Snyder - 2017-06-21

    I experience the very same problem. It used to work fine. All of a sudden, it started to give me hard time. Probably after a Windows update. I have Win 8.1, with latest updates. My printer is HP 5500 series and I cannot find a TWAIN driver for it. Now, NAPS2 says "driver problem". The Error Log is attached. Thanks.

     
  • Al Snyder

    Al Snyder - 2017-06-21

    Obviously it was Win 8.1 problem, because another scanner software had the same issue. As a result, I just did another Win Update, and now, it started working again, beautifully! Regards.

     
  • Bryce Nesbitt

    Bryce Nesbitt - 2018-08-27
     
    • Bryce Nesbitt

      Bryce Nesbitt - 2018-10-23

      Similar issue on MFC-J480DW Brother (WIA).
      Feeder is unusable.

      On Mon, Aug 27, 2018 at 12:43 PM Bryce Nesbitt brycen@users.sourceforge.net
      wrote:

      See similar report at https://sourceforge.net/p/naps2/tickets/487/

      Status: open
      Milestone: 5.X
      Created: Tue Jun 06, 2017 09:23 AM UTC by Dom Rock
      Last Updated: Wed Jun 21, 2017 04:51 PM UTC
      Owner: nobody

      Multiple oddities with WIA scanning with feeders (doesn't occur with
      scanning on glass).

      1) Doesn't scan second page onwards, it just pauses for 15 seconds and
      then issues an error.
      2) Skips every second page, ie scans first page, MFC auto-loads 2nd page
      as first page is finishes, then it runs through 2nd page quickly, after
      which MFC auto-loads 3rd page, 3rd page scans normally, etc..
      3) Generates errors when scanning from feeder:

      NAPS2.Scan.Exceptions.ScanDriverUnknownException: An error occurred with the scanning driver. ---> System.Runtime.InteropServices.COMException: Error HRESULT E_FAIL has been returned from a call to a COM component.
      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>

      This has been happening on multiple computers, with both Brother and HP
      MFCs, with devices set up using WSD and downloading the Windows Update WIA
      drivers automatically.

      Both machines I tested today ship with vendor driver packages that install
      and default to TWAIN drivers. NAPS works fine using the TWAIN drivers.


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/naps2/tickets/315/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Tickets: #315


Log in to post a comment.