-
-
Notifications
You must be signed in to change notification settings - Fork 314
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SaneWinDS compatibility #327
Comments
This is again an issue with the data source, but fortunately SANEWinDS (unlike SaneTwain) is open source, so I was able to make some fixes. Hopefully the author is able to merge them, but in the meantime if you like you can trying taking this SANEWinDS.dll and replacing it in the |
Thanks! I've tested and see that nothing changed significantly. Should I replace the file in the folder "C:\Program Files(x86)\SaneWinDS" as well?
|
Oops sorry I think I uploaded the wrong build, please try this one instead: You might need to right click -> Properties on the DLL and select "Unblock" to get Windows to allow it to run. You can also update to NAPS2 7.4.0 as it will provide a bit more useful error messages. |
So, what I've done:
TESTS:
in
in debug.log:
My SANEWinDS config files:
PS So, it works! Later I will check it on other PCs with real scanners. UPD Tested with old DSM on Canon MF3010 + SaneWinDS with your patch. It works! |
Nice. Does the real scanner work with Default as the twain impl? The "Unsupported pixel type" error is because it's trying to scan 48-bit color but NAPS2 only supports 24-bit color. I'm not sure if that's a bug in SANEWinDS or in the test backend you were using to default to 48-bit. |
Yes, it works with the default mode as well. I hope SaneWinDS devs will approve your PR as soon as possible, as it solves one of the major issues. Meanwhile, is that possible to fix the wia driver as well? ;) |
SANEWinDS version 1.2 has been published with those fixes and more, it seems to be working well now. |
I am trying to find out a reliable twain client for windows, sanetwain doesn't want to work with native scanning, and needs to call scanimage every time, wia clears the settings after each restart of the client, and needs to change the id of device every time the client is restarted.
Finally I was trying to conquer SaneWinDS which has the most recent developments, and here I also failed. Modes
native
ormemory
constantly reports the error:in debug.log:
Though, SaneWinDS works fine as a standalone app.
Tested with a test scanner sane service run in wsl2 on the same PC, as the client.
The text was updated successfully, but these errors were encountered: