Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.os.linux.misc > #29769
| Path | csiph.com!aioe.org!.POSTED.EJ4i6BHll8gdJET9Q2Ckfw.user.gioia.aioe.org!not-for-mail |
|---|---|
| From | "Rinaldi J. Montessi" <rinaldi@notaserver.com> |
| Newsgroups | comp.os.linux.misc |
| Subject | Re: CUPS - set up printer by name instead of IP address |
| Date | Tue, 14 Apr 2020 10:21:26 -0500 |
| Organization | http://www.federalist.com |
| Lines | 40 |
| Message-ID | <f949a010-182c-8929-c90d-d4afb6ee20c7@invalid.com> (permalink) |
| References | <r73gk90252d@news1.newsguy.com> <poogmg-70k.ln1@Telcontar.valinor> |
| NNTP-Posting-Host | EJ4i6BHll8gdJET9Q2Ckfw.user.gioia.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
| X-Notice | Filtered by postfilter v. 0.9.2 |
| Content-Language | en-US |
| Xref | csiph.com comp.os.linux.misc:29769 |
Show key headers only | View raw
On 4/14/20 8:00 AM, Carlos E.R. wrote: > On 14/04/2020 07.10, 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? > > Can you ping that name? My guess is "no". Then, of course CUPS can't > find the printer by name. > > The usual solution is simply to assign a fixed IP to the printer. There > are two basic methods: write the address in the printer own > configuration panel or web page, or fixate the address in the router via > DHCP. > > Another would be some kind of DNS setup that updates automatically. Once the printer has a fixed IP then use /etc/hosts, e.g.: 192.168.1.113 Printer.Server Printer Rinaldi -- Critic, n.: A person who boasts himself hard to please because nobody tries to please him. -- Ambrose Bierce, "The Devil's Dictionary"
Back to comp.os.linux.misc | Previous | Next — Previous in thread | Next in thread | Find similar
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