OpenPrinting / OpenPrinting/cups-browsed
Issue Title: implicitclass queues failing for HP ENVY Inspire 7900 (Ubuntu 24.04)
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 49
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Description:
Automatically discovered printer queues created by cups-browsed (v2.0.0) are failing to process jobs on Ubuntu 24.04. The service creates an implicitclass destination that results in
either host name resolution errors or certificate validation failures.
Environment:
- OS: Ubuntu 24.04 LTS (Noble)
- CUPS Version: 2.4.7-1.2ubuntu7.9
- cups-browsed Version: 2.0.0-0ubuntu10.3
- Printer: HP ENVY Inspire 7900 series [C148BD] (WiFi connected)
Symptoms:
- Jobs sent to the auto-generated queue remain stuck or fail immediately.
- lpstat -l shows error: No destination host name supplied by cups-browsed for printer "HP_ENVY_Inspire_7900_series_C148BD".
- Alternatively, the printer state reason shows cups-pki-invalid when attempting to use the ipps URI generated by the service.
- Logs show backend failures: cfFilterExternal (ipp): Backend (PID XXX) stopped with status 4.
Observed lpoptions for the failing queue:
1 device-uri=implicitclass://HP_ENVY_Inspire_7900_series_C148BD%40HP489EBDC148BD.local/
2 printer-make-and-model='HP Printer, driverless, 2.0.0'
3 printer-state-reasons=cups-pki-invalid
Steps to Reproduce:
- Enable cups-browsed on a network with an HP ENVY Inspire printer.
- Wait for the printer to be auto-discovered and the implicitclass queue to be created.
- Attempt to print any document to this queue.
Workaround/Resolution:
The issue was resolved by:
- Disabling and stopping the cups-browsed service.
- Manually adding the printer using a direct HPLIP URI (hp:/net/ENVY_Inspire_7900_series?ip=10.0.0.49) or a direct IPP URI.
- The manual queue works perfectly, suggesting the implicitclass wrapper or the mDNS resolution within cups-browsed is failing to pass the correct destination information to the CUPS
backend.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure with an automatically discovered implicitclass queue for the HP ENVY Inspire 7900, then compare its lpstat, lpoptions, and backend logs with a manually configured direct URI. Done means the auto-generated queue supplies a valid destination and processes print jobs without hostname-resolution or certificate-validation failures.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux, ubuntu
- Domain
- backend, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100