Code Monkey home page Code Monkey logo

Comments (3)

manuc66 avatar manuc66 commented on May 16, 2024

Hi,

The reason it fails is that your printer is not supported because there is no WalkupScanToCompManifestURI or WalkupScanManifestURI in the DiscoveryTree. That's why you can also read Unknown device! (see

console.log("Unknown device!");
)

These allow the application to register a computer as a target.

I don't know how the - Scan to Computer - feature works on this device. Without a complete record of the communication under Windows using the original hp software with the device, it's impossible to do the retro-engineering to make this device work in this project.

from node-hp-scan-to.

hydrocontica avatar hydrocontica commented on May 16, 2024

Ah I see, thanks for the explanation. I've been researching this myself since I made this post and I found some threads on HP's support forum from customer service reps which (vaguely) mention that "scan to computer" was removed from some MFP models due to bugs. I guess it was easier to just deprecate the function entirely and push people to use "scan to network path" instead. Annoying considering these printers are also stuck on SMB v1!

Is there a way I could record the communication between the printer and Windows? I'd be happy to provide more info if it would help diagnose the problem and extend functionality to any other printers similarly afflicted.

from node-hp-scan-to.

manuc66 avatar manuc66 commented on May 16, 2024

I used wireshark to capture the network traffic while interacting with the application and the device and I've been able to understand what were happening : https://github.com/manuc66/node-hp-scan-to/blob/043466417ed3e198c5e0d338e718d17c005a3054/protocol_doc/HP%20Officejet%206500%20E710n-z.md

Hopefully the trafic was in clear text not http with that printer so it was a bit easier. If you are facing https traffic you may try to use this kind of technique : https://briannalaird.com/tutorials/decrypt-https-traffic-in-wireshark-on-a-windows-machine

from node-hp-scan-to.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.