<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Michael Sweet wrote:
<blockquote cite="mid:415F9707-2680-44EA-AD69-5A0ACE1C1687@apple.com"
 type="cite">
  <div>
  <div>On Jan 13, 2010, at 1:19 AM, GP Power wrote:</div>
  <blockquote type="cite">
    <div bgcolor="#ffffff" text="#000000">Problem 1a:<br>
I cannot delete the default printer in the web interface because the
printer configuration is set to the same IP address as the machine I'm
using for remote system administration.  Since <b><big><tt>'localhost
= 192.168.1.102'</tt></big></b>, clicking on 'Delete printer' in the
web interface fails as it tries to execute:<br>
    </div>
  </blockquote>
  <div><br>
  </div>
OK, so first I sincerely hope you haven't set localhost to
192.168.1.102 in your /etc/hosts file - that is guaranteed to hose up a
lot of things (not use CUPS). The "localhost" name is reserved for the
loopback interface (127.0.0.1 and ::1)</div>
  <div><br>
  </div>
</blockquote>
<br>
No, I haven't. That IP address is assigned by the router's DHCP server.
I plan on assigning the printer an IP address below where the DHCP
server begins, so I can have a static printer IP address on this LAN.<br>
<br>
<br>
<blockquote cite="mid:415F9707-2680-44EA-AD69-5A0ACE1C1687@apple.com"
 type="cite">
  <div>Second, I'm guessing this is a known URI-rewrite bug in CUPS
1.2.x that was fixed in 1.3.x.</div>
  <div><br>
  </div>
</blockquote>
CentOS never updated past CUPS 1.1, but HPLIP requires a minimum of
CUPS 1.2, so I manually removed CUPS 1.1 and manually installed CUPS
1.2. As for 1.3, the distribution may or may not have the libraries
required to compile the source and I didn't want to get caught up in
Red Hat's RPM hell trying to manually upgrade major parts of the
distribution just for the printer server. I'm afraid I would be opening
up a huge can of worms.<br>
<br>
It would be simpler to wipe CentOS and get to a more modern distro that
has the support for the latest CUPS and latest HPLIP, as I have on
another PC. The limitation is a very specialized commercial UNIX app
which ONLY runs on Red Hat (the CentOS upstream open source, as I'm
sure you know).<br>
<br>
I will backtrack and get this solved. Thanks for the info about the
CUPS 1.2 bug and 1.3 fix. From what I've read, even CentOS 5 is not
up-to-date on the latest CUPS and HPLIP.<br>
<br>
Thanks for the quick reply, Michael!<br>
<br>
<br>
</body>
</html>