LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 04-03-2016, 06:03 AM   #16
incognito3604
LQ Newbie
 
Registered: Apr 2016
Location: Hamburg, Germany
Posts: 12

Original Poster
Rep: Reputation: Disabled

Interesting. Sadly, I can't register the printer anymore. This worked fine yesterday.
Code:
lpadmin -p Canon_LBP6000 -m /usr/share/cups/model/CNCUPSLBP6018CAPTK.ppd -v ccp://localhost:59787
gets me
lpadmin: Unable to copy PPD file.

I have stopped the ccpd service like last time. I am sorry if I am missing the obvious.
 
Old 04-03-2016, 06:11 AM   #17
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Well, you don't need to worry about the PPD bit, so this should do it
Code:
lpadmin -p Canon_LBP6000 -v ccp://localhost:59787
Alternatively, edit /etc/cups/printers.conf directly (as root) and make the necessary edit, or via CUPS web interface.
 
Old 04-03-2016, 06:31 AM   #18
incognito3604
LQ Newbie
 
Registered: Apr 2016
Location: Hamburg, Germany
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you for this information, I would probably have been stuck here.
The port change didn't change anything. The state remains "pending"
 
Old 04-03-2016, 06:42 AM   #19
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Okay, and you have two ccpd processes running?
Code:
ps -A|grep ccpd
Very late here, and I'm out of ideas, but I'm going to suggest you carefully review the thread you provided in your opening post (post #23 onwards)

http://www.linuxquestions.org/questi...ml#post5085298
 
Old 04-03-2016, 08:05 AM   #20
incognito3604
LQ Newbie
 
Registered: Apr 2016
Location: Hamburg, Germany
Posts: 12

Original Poster
Rep: Reputation: Disabled
Thank you very much for your time and effort!
Code:
ps -A|grep ccpd
returns nothing. But the service is responding. Restarting the service gives me at least one process.

root@paper:~# service ccpd status
● ccpd.service - (null)
Loaded: loaded (/etc/init.d/ccpd)
Active: active (exited) since Sun 2016-04-03 12:33:11 BST; 1h 27min ago
Process: 1018 ExecStop=/etc/init.d/ccpd stop (code=exited, status=0/SUCCESS)
Process: 1026 ExecStart=/etc/init.d/ccpd start (code=exited, status=0/SUCCESS)

Apr 03 12:33:11 paper ccpd[1026]: Starting /usr/sbin/ccpd: .
root@paper:~# ps -A|grep ccpd
root@paper:~#
root@paper:~# service ccpd restart
root@paper:~# ps -A|grep ccpd
1354 ? 00:00:00 ccpd
root@paper:~#

I will investigate this further and will carefully study your link.

Last edited by incognito3604; 04-03-2016 at 08:14 AM.
 
Old 04-03-2016, 02:48 PM   #21
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,807

Rep: Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140Reputation: 1140
Quote:
I will investigate this further and will carefully study your link.
Good. When you have ccpd running, there should definitely be two instances apparently. Also, make sure that you're trying to connect to the correct printer device node in case it's back at /dev/usb/lp0 for example. Only one node should exist...
Code:
ls -l /dev/usb/lp*
 
Old 09-28-2016, 08:07 AM   #22
incognito3604
LQ Newbie
 
Registered: Apr 2016
Location: Hamburg, Germany
Posts: 12

Original Poster
Rep: Reputation: Disabled
No luck so far.
Thank you very much for your time and effort. I am sorry, but I have given up on this one and used Windows to solve this Problem. The next printer will have Linux driver support or a LAN connection of some sort.
Thank you again very much and I am sorry for my lack of patience with this problem.
 
  


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
Installation of Printer Canon LBP 2900B mksundaram Linux - Newbie 3 11-08-2011 11:22 AM
Canon printer LBP-1120 and PCLinuxOS. werepacman Linux - Hardware 1 10-28-2010 09:22 PM
Driver For Printer Canon Lbp 5000 ? hermid Linux - Newbie 1 12-17-2007 09:25 AM
Installing Canon LBP USB Printer as network printer on a Fedora Core without XWindow boy3dfx2 Linux - Newbie 5 06-03-2006 01:23 PM
Using a printer (Canon LBP-800) Lead Expression Linux - Newbie 3 01-15-2005 02:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 10:49 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