Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
Is some arcane iptables rule the only way to make this printer go away? Anyone have an iptables example to achieve that?
Tom Horsley wrote:
Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
There's currently no mechanism in CUPS to filter out queues you do not have control over, no.
Tim. */
On Tuesday 24 March 2009 12:10:17 Tim Waugh wrote:
Tom Horsley wrote:
Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
There's currently no mechanism in CUPS to filter out queues you do not have control over, no.
I thought that was what 'Unpublish Printer' did, so what does that do?
Anne
On Tue, 2009-03-24 at 08:00 -0400, Tom Horsley wrote:
Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
Is some arcane iptables rule the only way to make this printer go away? Anyone have an iptables example to achieve that?
In /etc/cups/client.conf there is a line to set the server name. Assuming that you are using a different server then the one serving your unwanted printer that may take care of it. If you are using the same server you need to find that server and convince its administrator to alter his configuration file which is more complicated.
-- ======================================================================= Time is but the stream I go a-fishing in. -- Henry David Thoreau ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
On Tue, 2009-03-24 at 12:10 +0000, Tim Waugh wrote:
Tom Horsley wrote:
Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
There's currently no mechanism in CUPS to filter out queues you do not have control over, no.
Tim. */
I know you are the expert but would not setting the servername in clients.conf (assuming different servers are being used) do the trick. -- ======================================================================= We're here to give you a computer, not a religion. - attributed to Bob Pariseau, at the introduction of the Amiga ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
Anne Wilson wrote:
On Tuesday 24 March 2009 12:10:17 Tim Waugh wrote:
There's currently no mechanism in CUPS to filter out queues you do not have control over, no.
I thought that was what 'Unpublish Printer' did, so what does that do?
It stops your CUPS server from advertising that the printer is available to other machines. It does not help in the case of another machine offering to share a printer, and you do not want it to show on your machine.
Now, if you don't want CUPS to show printers connected to other machines, there is a checkbox on the administration page, "Show printers shared by other systems", that controls displaying printers shared by other systems. I wounder if you could uncheck that, and then manually add any network printers you want to use?
Mikkel
On Tue, 2009-03-24 at 14:13 +0000, Anne Wilson wrote:
On Tuesday 24 March 2009 12:10:17 Tim Waugh wrote:
Tom Horsley wrote:
Is there any way I can convince it to NOT find a printer? Some system somewhere claims to have a shared printer on it, but it isn't a printer I want to use or even know where is located. I'd really like it to not be in the list of printers, but the ever so "helpful" software insists on finding it because it can.
There's currently no mechanism in CUPS to filter out queues you do
not
have control over, no.
I thought that was what 'Unpublish Printer' did, so what does that do?
Anne
I am waiting fro Tim's response but I am sure that what he said is not true if you have the cooperation of the manager of the system with the printer. I have four computers in my house (5 really but one is not involved) . One is a print server and one has a local printer. This second machine can print and see its local printer as well as the printers from the print server. The other machines can not see the local printer on that machine.
-- ======================================================================= Never speak ill of yourself, your friends will always say enough on that subject. -- Charles-Maurice De Talleyrand ======================================================================= Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam@sbcglobal.net
On Tue, 24 Mar 2009 09:28:27 -0500 Mikkel L. Ellertson wrote:
Now, if you don't want CUPS to show printers connected to other machines, there is a checkbox on the administration page, "Show printers shared by other systems", that controls displaying printers shared by other systems. I wounder if you could uncheck that, and then manually add any network printers you want to use?
Hey! That worked. None of the printers I want to use are on the same subnet anyway, and by unchecking that box in the web interface, the printer I didn't want did indeed disappear. Thanks!
(Perhaps what that checkbox really does is turn off the CUPS broadcast request for other printers?).