[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: CUPS - how to match autodetected printers to physical ones



On Fri 08 Apr 2022 at 19:57:53 -0500, David Wright wrote:

> On Fri 08 Apr 2022 at 23:44:29 (+0100), Brian wrote:
> > On Fri 08 Apr 2022 at 16:20:54 -0400, The Wanderer wrote:
> 
> > > What I understood Greg as asking about is how to get CUPS to *tell* you
> > > what the IP address it knows about for a given printer object is. That
> > > doesn't seem to be an unreasonable thing to want to know, or to expect
> > > CUPS to be able to provide; I'd want the same thing, in anything
> > > remotely like his place.
> > 
> > Finding the IP address is easy:
> > 
> >  ippfind -T 5
> >  ipp://envy4500.local:631/ipp/print
> >  ping -c 3 envy4500.local
> 
> Would the ping output give an IP address like the one quoted
> (10.76.172.100), or would you only get a 169.254/16 one?
> (I've not run an mDNS configured network.)

brian@desktop:$ ping -c 1 envy4500.local
PING envy4500.local (192.168.7.235) 56(84) bytes of data.
64 bytes from 192.168.7.235 (192.168.7.235): icmp_seq=1 ttl=255 time=31.3 ms

-- 
Brian.


Reply to: