OpenPrinting / hplip-printer-app

HPLIP Printer Application
Apache License 2.0
37 stars 10 forks source link

System access to printer queue #5

Open JohnDThompson opened 1 year ago

JohnDThompson commented 1 year ago

I've installed the hplip-printer-app v1.0 snap package on my Almalinux-9 machine. It recognizes the network HP Photosmart 5510 Series printer, using hpcups 3.22.6 and successfully prints a test page. But it doesn't appear as a printer option for the various applications I use.

How do I get it to make the Photosmart printer available to other applications?

tillkamppeter commented 1 year ago

The Printer Application (like hplip-printer-app) is an emulation of an IPP network printer.

First, IPP network printers advertise themselves via DNS-SD. For this the system you are running the Printer Application on must have a running avahi-daemon. This is usually the case by default on modern Linux distributions, but I only inform you for the case you have perhaps stopped or even removed avahi-daemon.

Second, if CUPS discovers an IPP network printer, it does not automatically create a print queue. Some distributions have cups-browsed running to automatically create such a queue.

Newer desktop applications see IPP printers without having an actual CUPS queue for them and when selecting the printer in the dialog, CUPS automatically creates the queue (takes 3-5 seconds).

So to discover where is the problem, could you run the following commands and post the output here:

ps aux | grep avahi-daemon
ps aux | grep hplip-printer-app
avahi-browse -t -r _ipps._tcp
avahi-browse -t -r _ipp._tcp
ippfind
driverless
lpstat -e