Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.misc > #29772

Re: CUPS - set up printer by name instead of IP address

Path csiph.com!news.mixmin.net!news.albasani.net!.POSTED!not-for-mail
From Andreas Kohlbach <ank@spamfence.net>
Newsgroups comp.os.linux.misc
Subject Re: CUPS - set up printer by name instead of IP address
Date Tue, 14 Apr 2020 13:30:42 -0400
Organization https://news-commentaries.blogspot.com/
Lines 42
Message-ID <87d08aotz1.fsf@usenet.ankman.de> (permalink)
References <r73gk90252d@news1.newsguy.com> <87sgh6p7ls.fsf@usenet.ankman.de> <r74cbi$rp6$1@dont-email.me>
Mime-Version 1.0
Content-Type text/plain
X-Trace news.albasani.net UjLDSART01CYtARg6PAiHBLRrPlezbwH9N7jbT1jef4H1wIBUiGXZ9tUBsdkW0VoiDpH9F17pQlD5tmT753Jmw==
NNTP-Posting-Date Tue, 14 Apr 2020 17:30:42 +0000 (UTC)
Injection-Info news.albasani.net; logging-data="JGG+aP7AwNW9g7GKOusBGQ6cQKhN3U5RFG2fdglI+k386mTfGVzIoI+H7Ct4xV8s3ztzpg3UWQanuh7Ng7DB658kKvIJmUPJ+NrB8aQikcb17vVAVtPUbm1Vem+mIn2p"; mail-complaints-to="abuse@albasani.net"
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)
X-No-Archive Yes
X-Face '#R~-oJz-_!iXhczPJ;=w1(`5-uQ2$0qHB7KKDV,]VoAC!P?swaa#m|eB<DkOt*XH=~9C[g S^w)b,)1q,{P\7Z3H,N(^m.YKuYM//B{X:PvbDk.|:g:$wVr*3*)[K6F+k\z-s32+oB]YJPy11wuGGz'bQAk~1.b1[;M{^A2@bboIENBB:Wd:<Fm~r7OuiJA1g}7KC-T'>Du+
Cancel-Lock sha1:pCvxwDt1wgAPCn5DC2nuwdapwSY= sha1:O9CBxTusQnSalrZ56F+IucjRvUI=
X-Face-What-Is-It Capture Bee from Galaga
Xref csiph.com comp.os.linux.misc:29772

Show key headers only | View raw


On Tue, 14 Apr 2020 14:03:45 +0100, The Natural Philosopher wrote:
>
> On 14/04/2020 13:36, Andreas Kohlbach wrote:
>> On 14 Apr 2020 05:10:33 GMT, Charlie Gibbs wrote:
>>>
>>> I find CUPS to be nice when it works, but frustrating when it
>>> doesn't - which happens often.  I've tracked it down to the
>>> fact that CUPS accesses my printer by its IP address - which
>>> changes from time to time when the printer is powered off or
>>> when its DHCP lease expires.  In the CUPS web-based interface
>>> (http://localhost:631), the "Printers" maintenance screen
>>> currently shows:
>>>
>>> Connection: lpd//192.168.0.41:515/PASSTHRU
>>>
>>> My printer, on the other hand, is showing an IP address of
>>> 192.168.0.45, so any attempts to print will fail.  If I delete
>>> and re-add the printer, CUPS will find the new IP address and
>>> all will be well - until the printer's IP address changes again.
>>>
>>> Is there a way to get CUPS to access the printer by its name
>>> (EPSONxxxxxx) rather than its IP address?
>>>
>>> My wife's Macbook seems to be smarter about finding the printer -
>>> she never has any trouble printing.
>>
>> Dunno this printer. But if possible I would give it a fixed IP address.
>>
> telling CUPS to use Bonjour is, it seems, not nearly as hard as I
> thought, and since the MAC is finding it - presumably that way - it's
> all set up at the printer end.
>
> One linux command line to discover the 'bonjour' URI and then shove
> that in instead of the IP address and Robert *should* be a relative.
>
> But I have never used bonjour.

Suppose I wasn't clear enough. Give the *printer* a fixed IP address.
-- 
Andreas

PGP fingerprint 952B0A9F12C2FD6C9F7E68DAA9C2EA89D1A370E0

Back to comp.os.linux.misc | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

CUPS - set up printer by name instead of IP address Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-14 05:10 +0000
  Re: CUPS - set up printer by name instead of IP address Bob Tennent <BobT@tennent.ca> - 2020-04-14 11:18 +0000
    Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 13:04 +0100
  Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 13:00 +0100
  Re: CUPS - set up printer by name instead of IP address Andreas Kohlbach <ank@spamfence.net> - 2020-04-14 08:36 -0400
    Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 14:03 +0100
      Re: CUPS - set up printer by name instead of IP address Andreas Kohlbach <ank@spamfence.net> - 2020-04-14 13:30 -0400
  Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-14 15:00 +0200
    Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 14:35 +0100
      Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-14 16:10 +0200
        Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 18:46 +0100
          Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-15 12:45 +0200
            Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-15 11:58 +0100
              Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-16 12:53 +0200
                Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-16 13:03 +0100
                Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-16 22:50 +0200
                Re: CUPS - set up printer by name instead of IP address "Anonymous Remailer (austria)" <mixmaster@remailer.privacy.at> - 2020-04-17 01:45 +0200
                Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-17 04:19 +0200
            Re: CUPS - set up printer by name instead of IP address Rich <rich@example.invalid> - 2020-04-15 14:35 +0000
              Re: CUPS - set up printer by name instead of IP address Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-15 17:14 +0000
                Re: CUPS - set up printer by name instead of IP address Bit Twister <BitTwister@mouse-potato.com> - 2020-04-15 12:31 -0500
              Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-16 12:54 +0200
    Re: CUPS - set up printer by name instead of IP address "Rinaldi J. Montessi" <rinaldi@notaserver.com> - 2020-04-14 10:21 -0500
    Re: CUPS - set up printer by name instead of IP address Charlie Gibbs <cgibbs@kltpzyxm.invalid> - 2020-04-14 16:03 +0000
      Re: CUPS - set up printer by name instead of IP address The Natural Philosopher <tnp@invalid.invalid> - 2020-04-14 18:47 +0100
      Re: CUPS - set up printer by name instead of IP address "Carlos E.R." <robin_listas@es.invalid> - 2020-04-16 13:00 +0200

csiph-web