Closed gy-mate closed 3 weeks ago
Hello @gy-mate
It seems your device is responding in plain text instead of in xml. Can you tell me if you get some xml output if you query with your browser this ressource : http://192.168.▉.▉▉▉/Scan/ScanCaps
You may also try with curl to see the output by requesting xml: ´curl -k -H "Accept: text/plain" http://192.168.▉.▉▉▉//Scan/ScanCaps´
It seems your device is responding in plain text instead of in xml.
@manuc66 My bad, it was the GitHub Markdown formatter that removed all XML tags from the issue description—I didn't notice it. I've re-uploaded it as a Gist: https://gist.github.com/gy-mate/b37f03fa3d8eaf1284140997e6602062 It looks like an XML to me.
Can you tell me if you get some xml output if you query with your browser this ressource : http://192.168.▉.▉▉▉/Scan/ScanCaps
Sure, I get the following XML on this site (zipped it to be able to upload it): ScanCaps.xml.zip
Hello @gy-mate,
Thank you for providing the new debug output. I noticed that there is no platen described in the ScanCaps. Could you please confirm whether your device only supports scanning from the automatic document feeder and not from the platen?
Thank you!
@gy-mate The branch handling the missing Platen in the xml has been merged. Could you give it another try and tell me if it works ?
Could you please confirm whether your device only supports scanning from the automatic document feeder and not from the platen?
@manuc66 I can confirm that, it doesn't even have a platen. (My bad, I didn't know the meaning of platen until now.) The HP DeskJet Ink Advantage 3775 All-in-One is (or was) the smallest all-in-one printer on the market:
@gy-mate The branch handling the missing Platen in the xml has been merged. Could you give it another try and tell me if it works ?
@manuc66 It works, thank you very much!! :)
Describe the bug Device: HP DeskJet Ink Advantage 3775 All-in-One Command line or Docker: command line
Describe what is happening
Debug output (redacted some info)
WARNING: No configurations found in configuration directory:/Users/▉▉▉/config WARNING: To disable this warning set SUPPRESS_NO_CONFIG_WARNING in the environment. Using device ip: 192.168.▉.▉▉▉ IsDebug: true Target folder: /var/folders/tl/vs5tbg8d5gsdg4b8rg0ywdt80000gn/T/scan-to-pcBz5rNu Temp folder: /var/folders/tl/vs5tbg8d5gsdg4b8rg0ywdt80000gn/T/scan-to-pcFQWPXc 0001 -> {"baseURL":"http://192.168.▉.▉▉▉","url":"/DevMgmt/DiscoveryTree.xml","method":"GET","responseType":"text"} 0001 <- {"status":200,"data":" \n \n