Dispiriting! I imagine you have tried switching the device on and off?
The scanner is found and a scan request is made. The response is a location. Accessing the location should cause scanning to take place and a file to be downloaded to out.jpeg.
I reckon the port should be 8080. It is what I use here and it is what you used earlier to get the scanner capabilities. I do not know why the scanner says it is port 80, but the service (scanning and downloading) is unavailable on this port. At least, that is my theory. Let's test it.
Use scan.py again. Copy and paste the location, change it to
Dispiriting! I imagine you have tried switching the device on and off?
The scanner is found and a scan request is made. The response is a location. Accessing the location should cause scanning to take place and a file to be downloaded to out.jpeg.
Location: http:// 192.168. 1.173:80/ eSCL/ScanJobs/ pcluyfwp- bt6d-cdkq- 1003-qviyb7lo
I reckon the port should be 8080. It is what I use here and it is what you used earlier to get the scanner capabilities. I do not know why the scanner says it is port 80, but the service (scanning and downloading) is unavailable on this port. At least, that is my theory. Let's test it.
Use scan.py again. Copy and paste the location, change it to
http:// 192.168. 1.173:8080/ eSCL/ScanJobs/<Whatever_ UUID_is_ given>/ NextDocument
and do
curl -v -s http:// 192.168. 1.173:8080/ eSCL/ScanJobs/<Whatever_ UUID_is_ given>/ NextDocument > out.jpg
You have to be quick with this because the request expires in about 30 seconds.
--
Brian.