Giter VIP home page Giter VIP logo

Comments (8)

tillkamppeter avatar tillkamppeter commented on July 17, 2024

@JaiLuthra1, could you also have a look into this?

from pappl.

tillkamppeter avatar tillkamppeter commented on July 17, 2024

When browsing the "Devices:" list in the web interface I get the following error messages in the terminal:

E [2020-10-02T20:38:52.454Z] [Device] Unable to get IEEE-1284 device ID: Input/Output Error
E [2020-10-02T20:38:52.454Z] [Device] Unable to get IEEE-1284 device ID: Input/Output Error
E [2020-10-02T20:38:52.456Z] [Device] Unable to get IEEE-1284 device ID: Input/Output Error

from pappl.

michaelrsweet avatar michaelrsweet commented on July 17, 2024

@tillkamppeter The duplicate "HP HP" is a known issue with HP printers. We should probably update the code that generates this make/model string to look for it.

The long numbers are the serial numbers... :/

What printer yields that IO error message?

from pappl.

tillkamppeter avatar tillkamppeter commented on July 17, 2024

HP OfficeJet Pro 8730

from pappl.

michaelrsweet avatar michaelrsweet commented on July 17, 2024

@tillkamppeter Try the current code in the master branch...

from pappl.

tillkamppeter avatar tillkamppeter commented on July 17, 2024

Thank you for your improvement on this.
I have tested now, but not with hp-printer-app, as you did not update this one to your new API changes (please do, or @JaiLuthra1?). I simply ran the "testpappl" app of the PAPPL package itself, clicked "Add Printer" and my printer (connected on both USB and Ethernet) appeared three times, one clearly to be identified as USB ("HP OfficeJet Pro 8730 (USB)"), one marked with the printer's network IP address: "HP OfficeJet Pro 8730 (10.0.0.3)" (is this socket, port 9100?) and a third, being marked as "HP OfficeJet Pro 8730 [08C229]". This looks much better but is not yet perfect.
On the USB entry the serial number (but in human-readable form, some string of 10 or 12 letters and/or numbers) could be useful, so that if someone connects 2 of the same model, he can distinguish them.
The socket entry could also somehow inform that it is actually socket, and not for example LPD.
The third one, "HP OfficeJet Pro 8730 [08C229]", I guess it is IPP, an I right? Should also be marked.
How do you handle IPP/IPPS for an IPP printer here? I suggest simply have one entry using the "better" one, so IPPS if available (this is what I do in the "driverless" utility of cups-filters). Mark it simply as "IPP" for best understandability.
Also sorting of the listing could improve things, for example checking the UUID of discovered printers to make entries of one physical device being together, or with this even menu/submenu (select discovered printer, then connection type).

from pappl.

michaelrsweet avatar michaelrsweet commented on July 17, 2024

@tillkamppeter I thought I had updated hp-printer-app, will double-check.

The second (10.0.0.3) is the same printer detected via SNMP. It should be the SNMP machine name (not the IP address) and resolves to socket.

The third is Bonjour/DNS-SD and also resolves to socket.

PAPPL does not support IPP printers (why when CUPS can talk to them already?) and doesn't support LPD since basically all printers that support LPD also support socket.

from pappl.

michaelrsweet avatar michaelrsweet commented on July 17, 2024

OK, I think I've updated things so that you don't see a bunch of strange entries, and all of them are flagged with the technology used.

from pappl.

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.