Alex Taylor | 15 Apr 2012 14:09

Changing printer URI

Due to my own short-sightedness in setting up my print server, I find
that its IP address has changed.  So, I have to change the printer's
URI in CUPS.

Printer name: PX-101
Old URI: lpd://192.168.3.2/LP1
New URI: lpd://192.168.3.5/LP1

Unfortunately, I seem quite unable to do so.

Using the "Modify Printer" wizard in the CUPS web admin page, as soon 
as I hit the next button after entering the new URI, the web admin
gets stuck.  It sits trying to load the next page for around 5 minutes,
and finally comes back saying it's unable to get the printer options.
I cannot continue.

Next I tried running lpadmin from a command line:
  lpadmin -p PX-101 -v "lpd://192.168.3.5/LP1"
It sat doing nothing for, again, about 5 minutes, and eventually returned:
  lpadmin: Unknown

Any ideas, short of deleting the printer and creating a new one with
the correct URI?

Using CUPS 1.48.

--

-- 
Alex Taylor
Fukushima, Japan
http://www.socis.ca/~ataylo00
(Continue reading)

Alex Taylor | 15 Apr 2012 14:36

Re: Changing printer URI

On Sun, 15 Apr 2012 12:09:08 UTC, "Alex Taylor" 
<mail.me@...> wrote:

> Due to my own short-sightedness in setting up my print server, I find
> that its IP address has changed.  So, I have to change the printer's
> URI in CUPS.
> 
> Printer name: PX-101
> Old URI: lpd://192.168.3.2/LP1
> New URI: lpd://192.168.3.5/LP1
> 
> Unfortunately, I seem quite unable to do so.
> 
> Using the "Modify Printer" wizard in the CUPS web admin page, as soon 
> as I hit the next button after entering the new URI, the web admin
> gets stuck.  It sits trying to load the next page for around 5 minutes,
> and finally comes back saying it's unable to get the printer options.
> I cannot continue.

Sorry, should correct that: the hang occurs after hitting "Continue"
on the page _after_ entering the new URI.  This is the page where it
should be listing the available drivers, but it waits for ages and
then says it can't get the drivers.

--

-- 
Alex Taylor
Fukushima, Japan
http://www.socis.ca/~ataylo00

Please take off hat when replying.
(Continue reading)

Alex Taylor | 15 Apr 2012 14:38

Re: Changing printer URI

On Sun, 15 Apr 2012 12:36:48 UTC, "Alex Taylor" 
<mail.me@...> wrote:

> On Sun, 15 Apr 2012 12:09:08 UTC, "Alex Taylor" 
> <mail.me@...> wrote:
> 
> > Due to my own short-sightedness in setting up my print server, I find
> > that its IP address has changed.  So, I have to change the printer's
> > URI in CUPS.
> > 
> > Printer name: PX-101
> > Old URI: lpd://192.168.3.2/LP1
> > New URI: lpd://192.168.3.5/LP1
> > 
> > Unfortunately, I seem quite unable to do so.

Should also add: I just tried the same thing on my other PC which
is using CUPS 1.4.6, and there it worked fine.

So it looks like something may have gotten broken between CUPS 1.4.6
and 1.4.8...

--

-- 
Alex Taylor
Fukushima, Japan
http://www.socis.ca/~ataylo00

Please take off hat when replying.
Paul Smedley | 15 Apr 2012 22:32
Picon

Re: Changing printer URI

Edit /cups/etc/cups/Printers.conf using a text esitor

Cheers,

Paul

Sent from my iPhone

On 15/04/2012, at 9:39 PM, Alex Taylor <mail.me@...> wrote:

> Due to my own short-sightedness in setting up my print server, I find
> that its IP address has changed.  So, I have to change the printer's
> URI in CUPS.
>
> Printer name: PX-101
> Old URI: lpd://192.168.3.2/LP1
> New URI: lpd://192.168.3.5/LP1
>
> Unfortunately, I seem quite unable to do so.
>
> Using the "Modify Printer" wizard in the CUPS web admin page, as soon
> as I hit the next button after entering the new URI, the web admin
> gets stuck.  It sits trying to load the next page for around 5 minutes,
> and finally comes back saying it's unable to get the printer options.
> I cannot continue.
>
> Next I tried running lpadmin from a command line:
>  lpadmin -p PX-101 -v "lpd://192.168.3.5/LP1"
> It sat doing nothing for, again, about 5 minutes, and eventually returned:
>  lpadmin: Unknown
(Continue reading)

Tomas Davidek | 9 Aug 2012 14:34
Picon

Re: Changing printer URI

Well, but there is really something wrong in CUPS (I have 1.5.3-1, running in
Debian testing). I experienced the same problem as mentioned by Alex.
Surprisingly, when filling-in "ipp://...." instread of "lpd://....", hitting the
Continue button _does_ work. So there is something wrong when modifying the lpd
printer... ?

Best regards,
                   Tomas

Gmane