0

I have a HP Photosmart 8720 printer connected on the local network. I can print to it from Kubuntu 24.04 using the automatically created 'printer' of Kind 'HP Printer, driverless, 2.0.0'.

The problem is that cups-browsed automatically discovers 2 other printers of Kind 'local raw printer' and with connection 'file:///dev/null'. Not surprisingly, these don't work, but they still show up in applications and often clog up the print dialog.

If I delete these 2 invalid printers they automatically come back up as soon as the cups-browsed service is restarted (so I know it's cups-browsed doing it). I can't disable cups-browsed because if I do then the working printer goes away and I'm left with just the 2 invalid ones. I've tried various cups-browsed.conf options but none seem to have any effect.

Invalid printer

Invalid printer

Working Printer

Working printer

muru
  • 207,228
happyskeptic
  • 1,046

1 Answers1

0

After more testing I found it wasn't cups-browsed at all, but some lpadmin commands (that were run in the same configuration script as the restart of cups-browsed) that were somehow causing the addition of the invalid 'local raw' printers. After removing those lpadmin commands, but keeping cups-browsed enabled, the problem appears solved.

happyskeptic
  • 1,046