Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 06-12-2006, 07:44 AM   #1
LQ Newbie
Registered: May 2006
Posts: 14

Rep: Reputation: 0
help with lpadmin


I recently installed a USB printer on my FC3.

I erased the driver before doing lpadmin +x.

Now the printer appears online even if everything is removed...


1.How can I remove the printer record?
2.Where did linux store the info when it first detected the USB printer? Beside /dev/usb/lp0

3.What do you think...what should have been done first? The driver installed with rpm(it's based on CUPS)? Or the printer phsically turned on and connected to the Linux PC?

4.How can I add a working printer to be seen by the Win2k workgroup through a network connection (the Linux pc and not the printer are network connected).

The vendor didn't specify this VERY UNIMPORTANT information in it's driver install tutorial.
Old 06-13-2006, 01:02 AM   #2
Senior Member
Registered: Dec 2005
Location: United Kingdom
Distribution: Fedora , Ubuntu, Slackware-Current
Posts: 1,491

Rep: Reputation: 52

I am a little confused with what it is you want to do. I will suggest this:

1. When you did lpadmin -x to remove the print queue, did you also include the name you originally assigned the printer? For example:

lpadmin -x HP3900 (or whatever you named your printer)

2. If you want to uninstall something that was installed with rpm, use:

rpm -e (name of program)

3. If you want to install a network printer, just assign it as such when you set it up (i.e. "share") You can use the "add printer" function in Windows to set it up there.

If you can be a little more specific with what you want to do, maybe we can help a little more specifically:

Model of Printer
Distro (assuming Fedora or Suse or Mandriva)
What you want to do with it (was not totally clear on that)

Hope this helps

Old 06-21-2006, 10:25 AM   #3
LQ Newbie
Registered: May 2006
Posts: 14

Original Poster
Rep: Reputation: 0
The goal
I installed a CUPS based printer driver for Canon LBP2900 (from canon's website) on a Fedora core 3 machine.

I did something wrong and the driver did not work properly(nothing printed) when I tried to use lpr -P LBP2900 <file_to_print> command(yes with an actual file and not the <file_to_print_designator>).

So I went ahead and uninstalled that printer. I used the wrong procedure to unistall this printer (first removing the driver)
rpm -e cndrvcups-capt-1.30-1.i386.rpm
rpm -e cndrvcups-common-1.30-1.i386.rpm

Only then I used the /usr/sbin/lpadmin -x LBP2900 command and I got an error lpadmin:unable to connect to server:connection refused

I think this is because I uninstalled before getting the printer out of the queue.

The problem: now I see that printer through Window's network and I want to complete the unistall process so I can try installing the printer driver agian...since I got the driver from canon I assume the driver works and I did something wrong when I intalled it in the first place.

PS:I assume I should have made the physical connection with the printer before doing one of the following :
rpm -ivh cndrv-capt....rpm or
/etc/init.d/cups restart /usr/sbin/lpadmin -p LBP2900 -m CNCUPSLoBP2900CAPTK.ppd -v ccp:/var/ccpd/fifo0 -E
/usr/sbin/ccpadmin -p LBP2900 -o /dev/usb/lp0 ...probabily here
/etc/init.d/ccpd start


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
lpadmin doesn't seem to work linuxcat Linux - Newbie 2 01-25-2006 07:56 PM
problem with lpadmin, getting error, connection refused cougar694u Linux - Software 0 09-20-2004 04:23 PM
Network printer and lpadmin mattyjizm Linux - Networking 1 05-07-2004 12:50 AM
Where is lpadmin Smads Linux - Hardware 2 01-09-2004 02:20 AM
lpadmin......what is the equivalent opgpc0 Linux - Newbie 1 03-04-2003 02:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:28 PM.

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