On Fri 02 Aug 2024 at 19:29:14 (-0400), Dan Ritter wrote: > Lee wrote: > > On Thu, Aug 1, 2024 at 10:40 PM Jeffrey Walton wrote: > > > > > > I personally remove mDNS and Bonjour from my machines. mDNS is not the > > > source of truth on my networks. Rather, DNS is the source of truth in > > > my networks ... > > > > Do you have any network printers? That work without having mDNS enabled? > > I do. If you assign an IP and a DNS name to the IP, all the > network printers I am aware of will work just fine. (They don't > care about the DNS name, either, but it's more convenient if you > don't want to remember the IP.)
So when I set up my Brother laser printer, I followed the wiki at https://wiki.debian.org/CUPSDriverlessPrinting#Creating_a_Driverless_Print_Queue_with_lpadmin_.28Short_Version.29 using the cups-filters PPD generator option (for reasons I do not remember). The device has the name ipp://Brother…._ipp._tcp.local/ so I expect I'm using mDNS to print to it. The printer has an IP name and address (in /etc/hosts) that I use solely with ping. (A pingall function tells me which devices are turned on, and need switching off before a thundestorm strikes.) lpinfo also sees an lpd: ?device with what looks like a serial number (but isn't AFAICT). Which wiki method would I use to set up this printer through its IP address rather than a .local address? There's a lot of material in the Debian Printing wiki pages; so much of it is aimed at buster and legacy printers that finding particular methods can be difficult. I have a second, older printer whose printing engine is dead. (I use it only as a scanner.) The driverless command also gives this printer a .local device name (both ipp: and dnssd:), but I also see a socket://192.168.1.11:9100 address that I understand is deprecated. However, this is the only IP address given by lpinfo -v. In fact, it's about the only IP address I've found in the CUPS configuration files. I don't see 192.168.1.12 (the Brother's) anywhere. Cheers, David.