Skip to content

Issue Title: implicitclass queues failing for HP ENVY Inspire 7900 (Ubuntu 24.04) #57

Description

@brycebudd

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:

  1. Jobs sent to the auto-generated queue remain stuck or fail immediately.
  2. lpstat -l shows error: No destination host name supplied by cups-browsed for printer "HP_ENVY_Inspire_7900_series_C148BD".
  3. Alternatively, the printer state reason shows cups-pki-invalid when attempting to use the ipps URI generated by the service.
  4. 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:

  1. Enable cups-browsed on a network with an HP ENVY Inspire printer.
  2. Wait for the printer to be auto-discovered and the implicitclass queue to be created.
  3. Attempt to print any document to this queue.

Workaround/Resolution:
The issue was resolved by:

  1. Disabling and stopping the cups-browsed service.
  2. 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.
  3. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions