To the best of my (limited) knowledge, on a Pi (or older versions of Windows), the only thing Avahi/Bonjour is actually needed for is making connections by hostname. E.g...So if your Pi knows your printer's IP address, Avahi doesn't enter the picture. In general on *nix systems, at the CLI or program level, you're going to address printers by queue name, not any kind of physical address. E.g....
Code:
ssh <account>@<hostname>.localCode:
if(am_badge_stat[0] != 'N') { sprintf(cmd,"lp -oraw -d %s %s", printer_id, ptr_file_name); system(cmd); }Statistics: Posted by W. H. Heydt — Tue Feb 03, 2026 9:44 pm