2

I've been trying to wirelessly connect a printer to my Ubuntu computer. The computer detects the printer and adds it to the list of printers, but some weird things happen:

  • The computer has 3 instances of the printer on the list of printers, each of which has a slightly different name and description.

  • When I try to use any of the 3 instances to print something, it will not print, even though it gives me the notification that it is printing something on that printer.

Ubuntu Version: 20.04

Printer: HP OfficeJet Pro 8710

Instance names:

  • HP-OfficeJet-Pro-8710-AE7B1C
  • HP_OfficeJet_Pro_8710_AE7B1C_
  • HP_OfficeJect_Pro_8710_AE7B1C_@(random numbers and characters).local

Output of lpstat -l -e:

HP_OfficeJet_Pro_8710_AE7B1C_ network none ipps://HP%20OfficeJet%20Pro%208710%20%5BAE7B1C%5D._ipps._tcp.local/
HP_OfficeJet_Pro_8710_AE7B1C_@HPB4B686AE7B1C.local permanent ipp://localhost/printers/HP_OfficeJet_Pro_8710_AE7B1C_@HPB4B686AE7B1C.local implicitclass://HP_OfficeJet_Pro_8710_AE7B1C_%40HPB4B686AE7B1C.local/

Output of avahi-browse -art | grep -A 2 -i hostname.*office

Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipp._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipp._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipps._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipps._tcp' in domain 'local': Timeout reached

Output of avahi-browser -art | grep -B 1 -i hostname.*office

Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipps._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipps._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipp._tcp' in domain 'local': Timeout reached
Failed to resolve service 'HP OfficeJet Pro 8710 [AE7B1C]' of type '_ipp._tcp' in domain 'local': Timeout reached

I'm really confused and hope someone can help me out!

Pablo Bianchi
  • 15,657

3 Answers3

0

lpstat -l -e has an entry for HP_OfficeJet_Pro_8710_AE7B1C_.

This has been has been discovered by CUPS itself. You should be able to print with lp -d "HP_OfficeJet_Pro_8710_AE7B1C_" /etc/nsswitch.conf. Can you?

You can also set up a print queue if the IP address of the printer is known. It can be found from the printer's front panel. A URI is needed to substitute in the next command. It is ipp://IP_ADDRESS/ipp/print. ipps may be used instead of ipp.

Now execute lpadmin -p PRINTER_NAME -v URI -E -m everywhere

PRINTER_NAME can be what you want, such as pro8710. Test printing with lp -d PRINTER_NAME /etc/nsswitch.conf.

brian_p
  • 836
0

You may get more debug information with this command from hplip package

hp-check -t

This checks the system and dependencies then displays a complete report

You should also have a look to hplip-gui, which gives a more complete installation process than the basic Linux software

Pablo Bianchi
  • 15,657
roneo.org
  • 241
0

Check out these pages and previous answer.

HPPrinterInstallation

HpAllInOne

How should I install HPLIP binary/proprietary plugin/driver for my HP printer or printer+scanner?

In my experience with my laserjets: after running sudo hp-setup -i and hp-check. It was necessary to install a few more packages and libs to get printer functions such as fax and scanning to work correctly. You may find using apt search <whatever dependency you may need> helpful to resolve missing dependency errors that may appear after using hp-check as iaeiou suggested.

Also make sure to check any firewall settings that may interfere with detection. Temporarily disable them while you configure the printer. If you use UFW:

systemctl status ufw

sudo systemctl stop ufw

Then allow necessary rules for the printer

sudo ufw allow CUPS

To start it back up:

sudo systemctl start ufw

da_kingpin
  • 861
  • 6
  • 10