On 12/13/22 12:48, Jeffrey Walton wrote:
On Tue, Dec 13, 2022 at 3:20 PM Samuel Sieb <samuel(a)sieb.net>
wrote:
>
> On 12/10/22 01:06, Tim via users wrote:
>> Tim:
>>>> Are you supposed to remember which epson printer is which without any
>>>> clues? Are they both going to get the same name? Will they self-
>>>> modify one of their names? Will they always be the same ones in the
>>>> same order? I despise things that make me play guessing games.
>>
>> Samuel Sieb:
>>> You can set a description for the printer that it will broadcast in the
>>> mdns advertisement packets. CUPS will show that when you go to print.
>>
>> Yes, required manual intervention. But what will it do if you don't?
>
> I think they usually have the MAC address in the name somewhere.
> But regardless, what do you expect to happen? It's still better than
> plugging in a printer and having to figure out what IP address it
> happened to pick up. If you plugged in two printers without mdns, how
> are you going to tell which one is which?
Each printer gets a unique hostname. Then, you print using the
hostname. It does not matter which IP address the machine gets.
I guess the sharp edge in that design is, DHCP server must register
entries in DNS. That's a common thing to do in Active Directory
environments. Maybe not so common in the home router world.
Sure, but either way there's some manual config involved. Somewhere
along the way you have to tell the printer what its name is. There's no
way to do that automatically.