Cannot add printer

Bug #1972856 reported by maxroby
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
Incomplete
Undecided
Till Kamppeter

Bug Description

When I try to add a HP OfficeJet the system cannot find drivers, it shows an error.

Description: Ubuntu 22.04 LTS
Release: 22.04

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: gnome-control-center 1:41.4-1ubuntu12
ProcVersionSignature: Ubuntu 5.15.0-25.25-generic 5.15.30
Uname: Linux 5.15.0-25-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Tue May 10 15:25:16 2022
ExecutablePath: /usr/bin/gnome-control-center
InstallationDate: Installed on 2022-03-21 (49 days ago)
InstallationMedia: Ubuntu 22.04 LTS "Jammy Jellyfish" - Alpha amd64 (20220321)
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
maxroby (maxroby) wrote :
Revision history for this message
maxroby (maxroby) wrote :

From the cups error_log:

E [10/May/2022:15:33:08 +0200] [CGI] Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/, ipps://HPF80DAC5CDC21.local:631/ipp/print) via IPP!
E [10/May/2022:15:33:08 +0200] copy_model: empty PPD file
E [10/May/2022:15:33:08 +0200] [Client 109] Returning IPP server-error-internal-error for CUPS-Add-Modify-Printer (ipp://localhost/printers/HP_OfficeJet_Pro_8020_series) from localhost.

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Could you run the command

driverless

and post the output here?

Does it contain the printer's URI ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/ or ipps://HPF80DAC5CDC21.local:631/ipp/print ?

could you also run

driverless 'ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/' > 1.ppd
driverless 'ipps://HPF80DAC5CDC21.local:631/ipp/print' > 2.ppd

and attach the files 1.ppd and 2.ppd? Please do not compress them and do not package them together, attach them one by one. Thanks.

Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Revision history for this message
maxroby (maxroby) wrote :

$ driverless
ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/

$ driverless 'ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/' > 1.ppd
ERROR: Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://HP%20OfficeJet%20Pro%208020%20series%20%5B5CDC21%5D._ipps._tcp.local/, ipps://HPF80DAC5CDC21.local:631/ipp/print) via IPP!

$ driverless 'ipps://HPF80DAC5CDC21.local:631/ipp/print' > 2.ppd
ERROR: Unable to create PPD file: Could not poll sufficient capability info from the printer (ipps://HPF80DAC5CDC21.local:631/ipp/print, ipps://HPF80DAC5CDC21.local:631/ipp/print) via IPP!

Files created but empty.

Changed in gnome-control-center (Ubuntu):
status: Incomplete → New
assignee: nobody → Till Kamppeter (till-kamppeter)
affects: gnome-control-center (Ubuntu) → cups (Ubuntu)
Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

@maxroby, could you run the following command:

ipptool -tv ipps://HPF80DAC5CDC21.local:631/ipp/print get-printer-attributes.test > attrs.txt

and attach attrs.txt. Please also post the screen output of this ipptool command. Thanks.

Changed in cups (Ubuntu):
status: New → Incomplete
Revision history for this message
maxroby (maxroby) wrote :

$ ipptool -tv ipps://HPF80DAC5CDC21.local:631/ipp/print get-printer-attributes.test > attrs.txt
ipptool: Unable to connect to "HPF80DAC5CDC21.local" on port 631 - Errore temporaneo nella risoluzione del nome

File created but empty.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.