[sane-devel] [New backend] Web Services for Devices - wsd-scan

Klaus Kämpf kkaempf at suse.de
Mon Jan 6 07:06:27 GMT 2020


Hi,

based on previous discussions[1] and out of personal need[2], I
started to develop a new backend, implementing the Web Services for
Devices standard[3].

This initial release is very limited but working. It scans a single
page from the 'Platen' source and writes the resulting scan to
'output.jpeg'.

I intend to improve the driver over the coming weeks. At this point
it's working in "developer mode" and I'm looking for feedback and
testers.


How to compile:

- check out, compile, and install openwsd from [4]
- check out, compile, and install the 'wsd-scan' branch from [5]


How to run:

- You first need to discover your scanner URL
  - check out 'wsdd' from [6]
    (this should probably go to saned)
  - run it as './src/wsdd.py -i <ethernet-device> -4 -v'
  - write down the reported URL.
    (for me it's 'http://192.168.0.112:80/ws')

- run 'scanimage' with '-d wsd_scan:<discovered-url>'

- view 'output.jpeg'


Enjoy,

Klaus

[1] https://alioth-lists.debian.net/pipermail/sane-devel/2018-February/036058.html
[2] Search the internet for "dell c2665dnf touch screen not working" :-/
[3] https://en.wikipedia.org/wiki/Web_Services_for_Devices
[4] https://gitlab.com/kkaempf/openwsd
[5] https://gitlab.com/kkaempf/backends
[6] https://github.com/christgau/wsdd
-- 
SUSE Software Solutions Germany GmbH; GF: Felix Imendörffer; (HRB 36809, AG Nürnberg)



More information about the sane-devel mailing list