LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-02-2010, 03:34 PM   #1
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Rep: Reputation: 15
Cups - how to delete a printer


Running Debian 5, fairly new install. I have CUPS 1.38 installed. After much work, I got a PPD file for a Dell printer working - albeit not the exact one I need (5330dn), but close enough to work (3100cn).

Question: when I look at the list of printers in CUPS, I see a bunch of extra printers that are on the network, but that I didn't add. How do I remove them (ie. I don't want them to be listed)?
Going to Administration | Manage Printers shows me a black button named "Delete Printer", but clicking on it gives me an error message of:
Code:
Unknown operation "delete-printer"!

Ok, while I'm here, I'll ask 2 other simpler questions:
(2) anyone have the .ppd file for the Dell M5330dn printer? I've spent 90 minutes on the phone w/ the Dell tech support, and those guys are clueless....

(3) I have 4 printers of the same model. the first is working - is there an easy (command line) way of adding the other printers? Ie. can I just copy the /etc/cups/ppd file 3 times, renaming it to my other printer names (and ip addresses)?
 
Old 07-02-2010, 10:18 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Did you try deleting directly in CUPS or were you using your distro's printer manager feature?

In your browser open http://localhost:631 and going to Manage Printers. If you already knew that, I apologize for wasting your time.

My go-to site for ppd files has always been Linux Printing dot org, but the Dell M5330 does not seem to be listed. Indeed, very few Dells seem to be listed. If you can find out who made the printer for Dell, maybe that would help.

Wish I could have helped more, but I have found that some manufacturers just don't work and play well with Linux. That's not Linux's fault, but knowing that doesn't make life easier.
 
Old 07-05-2010, 08:27 AM   #3
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by frankbell View Post
Did you try deleting directly in CUPS or were you using your distro's printer manager feature?
I was using the CUPS (web) interface.


Quote:
My go-to site for ppd files has always been Linux Printing dot org, but the Dell M5330 does not seem to be listed. Indeed, very few Dells seem to be listed. If you can find out who made the printer for Dell, maybe that would help.
The sad thing is that Dell puts out a .tar.gz file - but it's WAY more than just the driver -it looks like it is a complete installer that wants to run from some kind of GUI. I'm not using a gui (well, I can open xterm, but that's not a gui). The .ppd file has to be in there somewhere, but finding out where (even when on the phone w/ their tech support) is worse than pulling teeth.
 
Old 07-05-2010, 08:41 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Mint
Posts: 17,809

Rep: Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743Reputation: 743
My system (cups 1.4.3 + gutenprint 5.2.5) lists a Dell M5200, which **might** work.

Regardless, to find the ppd file in the tar.gz archive, simply unpack the archive and then use "find"---eg, in the folder created by un-tarring, "find . -name "*ppd"
 
Old 07-05-2010, 09:26 AM   #5
CNBarnes
Member
 
Registered: Apr 2004
Location: Texas
Distribution: Debian
Posts: 41

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pixellany View Post
My system (cups 1.4.3 + gutenprint 5.2.5) lists a Dell M5200, which **might** work.

Regardless, to find the ppd file in the tar.gz archive, simply unpack the archive and then use "find"---eg, in the folder created by un-tarring, "find . -name "*ppd"
BINGO! I don't know why I didn't just use find

It was in ~noarch/at_opt/share/ppd/dp5330.ppd


Also - the "deleting printers issue": turns out I was displaying printers from other CUPS servers. Once I turned that off, those printers disappeared....

Last edited by CNBarnes; 07-05-2010 at 11:27 AM.
 
Old 07-05-2010, 07:30 PM   #6
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,342
Blog Entries: 28

Rep: Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145Reputation: 6145
Quote:
Originally Posted by pixellany View Post
Regardless, to find the ppd file in the tar.gz archive, simply unpack the archive and then use "find"---eg, in the folder created by un-tarring, "find . -name "*ppd"
Thanks for a great hint.

OP, I'm glad you figured it out.
 
Old 09-08-2010, 01:32 PM   #7
klausner
LQ Newbie
 
Registered: Aug 2006
Posts: 9

Rep: Reputation: 0
"Also - the "deleting printers issue": turns out I was displaying printers from other CUPS servers. Once I turned that off, those printers disappeared"

How did you turn off displaying printers from other CUPS servers?
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to delete printer driver from Samba/cups setup ? prollocks Linux - Server 3 02-05-2010 12:07 PM
CUPS problem - connecting to local printer as well as CUPS server bobm2011 Linux - Newbie 4 01-11-2010 07:28 AM
cups to cups printing through network on usb printer checkmate3001 Linux - Server 2 02-16-2009 12:12 PM
CUPS printer will not share to windows client - printer does not have correct drivers Hotchips Linux - Server 2 07-22-2007 02:56 AM
CUPS Network Printer/ server indicator blinks no printer output wine Linux - Networking 8 03-18-2006 10:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration