Menu

Error scanning with SANE driver

2017-06-29
2017-06-29
  • Kiumars Davoudi

    Kiumars Davoudi - 2017-06-29

    Hello,

    I really like NAPS2, it is a simple and great tool.

    I am using diferent types of scanners and now I need to use a SANE backend scanner. I can use other windows based software, as PP, and it works, but with NAPS2 I am getting an error, either choosing native or default interface.

    This is what I found in errorlog.txt:

    2017-06-29 12:21:16.2887 Ha ocurrido un error con el controlador del escáner. System.ArgumentException: Top-level control cannot be added to a control.
    at System.Windows.Forms.Control.MarshaledInvoke(Control caller, Delegate method, Object[] args, Boolean synchronous)
    at System.Windows.Forms.Control.Invoke(Delegate method, Object[] args)
    at System.Windows.Forms.WindowsFormsSynchronizationContext.Send(SendOrPostCallback d, Object state)
    at NTwain.MessageLoopHook.Invoke(Action action)
    at NTwain.TwainSession.NTwain.Internals.ITwainSessionInternal.EnableSource(SourceEnableMode mode, Boolean modal, IntPtr windowHandle)
    at NAPS2.Scan.Twain.TwainWrapper.<>cDisplayClass80.<scan>b4(Object sender, EventArgs eventArgs)</scan>

    It would be great if I can use SaneWin driver with NAPS2 so I can scan from SANE backends scanners.

    Thanks in advance and regards,

     
  • Kiumars Davoudi

    Kiumars Davoudi - 2017-06-29

    The driver's name is SANEWinDS

     
  • Reeperbahnause

    Reeperbahnause - 2017-06-29

    Hi,

    give WiaSane (https://github.com/mback2k/wiasane) a try.
    Worked for my Canon MX700.

    Regards
    Flitze

     
  • Kiumars Davoudi

    Kiumars Davoudi - 2017-06-29

    Thanks Reeperbahnause, but it didn't work for me. I need it Twain and able to work on multiuser environment.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.