7

I know I can manually add a .service file for each printer I have. But I would like to have them published automatically.

But from what I've read, it is also possible to get CUPS to inform avahi about its printers. (both cups and avahi are compiled with dbus support.)

The printers do not show up (despite marking CUPS to Share printers connected to this system). Any recommendations about how to configure either CUPS or Avahi or about how to debug this?

FWIW, I already have BrowseLocalProtocols all in cupsd.conf.

CUPS version is 1.5.4, and avahi is 0.6.31.

Francisco
  • 2,418

1 Answers1

1

You can use this script (thanks to Timothy J Fontaine) to generate the service-files via cron and move them to /etc/avahi/services/ like

./airprint-generate.py -d /etc/avahi/services
/etc/init.d/avahi-daemon restart
Giacomo1968
  • 58,727
Stephan
  • 111