Andre Truter wrote:
I have a client with a network of SUSE 11.1 machines. Printers are physically connected to a number of the workstations. CUPS is set up so that all machines can see all other printers. Normally it works good.
But then something went wrong on the one machine. Two of the remote printers on it is stuck in the configuration and I cannot remove them.
Basic scenario:
Server1 :
workstation1 : printer1, printer2
workstation2 : printer3, printer4
So, normally Server1 lists printers1-4 in it;s cups and it can print to them.
But now, we have on server1 the following:
printer1, printer2, working
pritner3: Listed, but URI=/dev/null printer4: Listed, but URI=/dev/null. pritner3@workstation2: working printer3@workstation2: working
If I shut down the CUPS on workstation2, the two printers with @workstation2 disappears from Server1, but the other two are still there. We even tried to reboot the server, and changed workstation2 to not advertise the printers, but the two printers with URI /dev/null are still there.
Server1 is a LTSP server and the local users have one of the defunct printers are default, so this is a bit of a problem, because all thier print jobs disappear into the void.
Any idea how I can remove the two remote printers from the server's cups config?
Thanks
You can manually edit /etc/cups/printers.conf and remove them. However they may return if all of your cups servers are advertising their printers, and a misconfiguration of one may propagate to the others. This method leads to a lot of unnecessary network traffic and complexity. I always try to avoid having a bunch of different cups servers popping up willy-nilly on the network as user add machines and power them off and on at will. A far better approach is to define all printers in the cups on a SINGLE server (one that will always be on), and attach all printers direct to the network if possible (via cat5 or wireless), and if not possible have the machine hosting the server not advertise the service, but simply make it available to the always on server (specific IP ALLOW statements in cups.config). This makes that workstation a backend for the cups on the Always on Server. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org