Comment 28 for bug 1811504

Revision history for this message
brian_p (claremont102) wrote : Re: scan with Laserjet MFP-M28 fails

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.