Open markosjal opened 5 years ago
Hi! An eSCL-to-WSD adapter could be doable, but I need to learn more about eSCL.
Do you have any reference for the protocol?
BTW, I plan to implement WSD proxy and also WSD device (currently, I only developed a WSD client). It would be very interesting to play around similar protocols. Note: WSD device API would be necessary for the bridge/adapter you're talking about, so you just gave me another good reason to implement it!
Thanks for the encouragement!
write me at markosjal at the email with a G I have some things for you
Thinking about the bridge idea.....
I wanted to let you know as I have been digging around in the small incoherent number eSCL protocol docs I found what is pasted below in this doc: ftp://ftp.pwg.org/pub/pwg/candidates/cs-sm20-scan10-20090410-5108.02.pdf
I also found this and maybe you know abou it already? https://github.com/RunasSudo/pyWSDscan
18 Apendix A – WS-Scan protocol mapping This model can be mapped onto Microsoft’s WS-Scan protocol. The intent is not to map all of the PWG Model but to map those parts of the PWG model that overlap the WS-Scan model. There are a number of mapping issues that must be addressed. Below is a summary of some of those mapping issues. This list is not meant to be exhaustive but does help clarify the WS-Scan mapping.
I have been updating a scanner Web GUI that I made for several models of orphaned scanners thanks to a command line binary. Recently I added eSCL/AirScan support, meaning that it can take advantage of and now use eSCL Scanners. Not only that . It should also allow the orphaned scanners to be available via AirScan (by way of the Linux host). The scanner web GUI offers some quick edit tools (imagemagick) like Grayscale. PDF (the orphaned scanners only to JPG in color), and a cropping tool by way of jcrop. Aside from the quickedit tools the latest version integrates Tui Image Editor. I figure I am in the testing Phase for scanner compatibility. I know there are remaining issues elsewhere they are just things That I need to deal with after making way for GUI changes and eSCL .
What I need to say is that this project is interesting . It is similar to those that originally had me interested in eSCL but in the case of eSCL I did not find any python projects that were actually mature enough. They all had issues, and I ended up writing it all in php. So if I implemented this to my Web GUI project for a WSD scanner (that did not support eSCL/AirScan), my Web GUI could also make it available as an AirScan scanner.
I am also interested in going the other way too however and have an orphaned or eSCL scanner be abailable as a WSD device if that is even possible. I do not believe that there is any WSD advertising available in linux yet.
For now I wish you luck and hope you have great success and can do broad testing , as I do not have a WSD scanner to test with . Using your python code would make it a no-brainer.
I do not understand why the Linux SANE projects lag so far behind when it comes to new scanner technology and why the support is so limited. they do a wonderful job on USB, Parallel, and Net scanners why did they never implement the ability to use an external command line at all? I hope that the Fred, Wilma, Barney and Betty at the SANE project wake up soon so they can get from the Flintstones to the Jetsons . Airscan has been on OSX and iOS for years now and SANE still has not woke up to it.