Comments (8)
@JaiLuthra1, could you also have a look into this?
from pappl.
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.
@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.
HP OfficeJet Pro 8730
from pappl.
@tillkamppeter Try the current code in the master branch...
from pappl.
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.
@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.
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)
- "proof-copies" support
- Add "job-password" and "job-release-action" support
- ipptransform support
- Support more job attributes HOT 2
- "printer-settable-attributes" and _papplPrinterSetAttributes are inconsistent HOT 4
- The option of "-n COPIES" doesn't work HOT 2
- “orientation-requested-default” cannot be set HOT 1
- Query about the "finishing" HOT 9
- Driverless cannot get the "printer-strings-uri" attribute HOT 3
- `modify` command ignores `-m` and `-v` options silently HOT 1
- Duplicate "printer-device-id"/"printer-strings-languages-supported" attribute in printer-attributes-tag group HOT 1
- Printer speed not saved for TSPL 203dpi HOT 4
- Raw socket gets data, but does not send data to printer HOT 8
- Printer darkness reset from 0% to default HOT 1
- Query about margin HOT 1
- pappl build errors: on linux, missing #defines, libcups3 not found HOT 2
- windows vs2019 compiler error severity "... \pappl\system-status-win32.c”: No such file or directory HOT 1
- testpappl runtime error in windows10 does not find libcups3.dll
- Running testpappl.exe on windows lacks a large number of dll files HOT 2
- No way to provide port number for "Network Printer" in web interface HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pappl.