[solved] CUPS-difficulty to delete a printer in cups manager

Problems and successes with specific brands/models of printers
Post Reply
Message
Author
User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

[solved] CUPS-difficulty to delete a printer in cups manager

#1 Post by charlie6 »

Hi,
maybe this looks being trivial...
I made some trials and searches to get a black and white printer among the various CUPS setups; and named that printer CUPS-B&W.

I cannot delete that printer using the cups print manager/printers/delete printer; nor typing a command line in a console:

Code: Select all

# lpadmin -x CUPS_B&W
lpadmin: delete-printer failed: client-error-not-found
[1] 22045
bash: W: command not found
[1]   Exit 1                  lpadmin -x CUPS_B
# 
I went and see on
http://209.85.229.132/search?q=cache:or ... clnk&gl=be
and found:

Code: Select all

Why Am I Getting Client-Error-Not-Found:
Created at 06:56 May 20, 2005 by steve, last modified at 07:06 Jun 17, 2005
This is the error message which CUPS gives you when you specified a non-existing file to print or a non-existing printer. Listing
as there is no job, I conclude that the printer does not exists...?
here is a list of my printers

Code: Select all

# lpstat -p -d
printer CANON_MP160 is idle.  enabled since Jan 01 00:00
printer CUPS-PDF is idle.  enabled since Jan 01 00:00
printer CUPS_B&W disabled since Jan 01 00:00 -
        No pages found!
printer e-FAX is idle.  enabled since Jan 01 00:00
system default destination: CUPS-PDF
# 
I wonder if the "&" character in the name CUPS_B&W could be the "black sheep" here?
then I do not know what to do.
Any idea?
Thanks for answer, Cheers, Charlie
Last edited by charlie6 on Tue 26 May 2009, 12:06, edited 1 time in total.

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#2 Post by rcrsn51 »

Go to /etc/cups and open the file printers.conf.

Delete the section that refers to your PDF printer.

Restart CUPS.

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#3 Post by charlie6 »

Hi rscn51,
rcrsn51 wrote:Go to /etc/cups and open the file printers.conf.
Delete the section that refers to your PDF printer.
Restart CUPS.
Done! Thank you !
cheers, charlie

Post Reply