Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

OS: Ubuntu 13.10 64 bit

Driver: CAPT v2.60 -> debian package 64 bit

Printer: LBP3100B


Regarding to this "Answer", I've installed the canon CAPT driver on my machin, but when I try to start/restart ccpd, I get the below error

img

However, printer doesn't work without starting ccpd. Here is /etc/ccpd.conf contents:

# Canon Printer Daemon for CUPS Configuration Data
<Path>
# CUPS configuration file path.
#  Default  /etc/cups/
CUPS_ConfigPath   /etc/cups/
# Log directory path.
#  LogDirectoryPath /var/log/CCPD/
</Path>
# Printer entries.
#  Mapping each "Printer Name" to each "Printer Device Port".
#  The "Printer Name" has to be identical to the CUPS printer queue name.
#  For example, if you prepare a printer named "LBP3200" as a CUPS printer
#  queue name, and the printer is connected to the USB port "/dev/usb/lp0",
#  you can use the following three lines example just by removing the
#  comment symbol "#" of each line.
#<Printer  LBP3200>
#DevicePath  /dev/usb/lp0
#</Printer>
<Printer LBP3100B>
DevicePath /dev/usb/lp0
</Printer>
<Ports>
# Status monitoring socket port.
#  Default 59787
UI_Port  59787
PDATA_Port  59687
</Ports>

After un-commeniting LogDirectoryPath /var/log/CCPD/ and trying to print a page, It seems the log file is not created: ls /var/log/CCPD/, Output -> ls: cannot access /var/log/CCPD/: No such file or directory

And the below picture is captured from the printer properties dialogue:

img-2

And here is /var/log/cups/error_log.3.gz:

W [20/Dec/2013:20:54:08 +0330] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP3100B-Gray..' already exists
W [20/Dec/2013:20:55:35 +0330] CreateProfile failed: org.freedesktop.ColorManager.AlreadyExists:profile id 'LBP3100B-Gray..' already exists
E [20/Dec/2013:20:59:55 +0330] [Job 2] ccp send_data error, exit
E [20/Dec/2013:20:59:55 +0330] [Job 3] Invalid printer command "Clean".
E [20/Dec/2013:20:59:55 +0330] [Job 3] ccp send_data error, exit
E [20/Dec/2013:21:04:57 +0330] [Job 2] Stopping unresponsive job.
E [20/Dec/2013:21:04:57 +0330] [Job 3] Stopping unresponsive job.
E [20/Dec/2013:21:06:08 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [20/Dec/2013:21:06:08 +0330] [Job 2] ccp send_data error, exit
E [20/Dec/2013:21:06:08 +0330] [Job 3] Invalid printer command "Clean".
E [20/Dec/2013:21:06:08 +0330] [Job 3] ccp send_data error, exit
E [21/Dec/2013:01:06:45 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [21/Dec/2013:01:06:45 +0330] [Job 2] ccp send_data error, exit
E [21/Dec/2013:01:06:45 +0330] [Job 3] Invalid printer command "Clean".
E [21/Dec/2013:01:06:45 +0330] [Job 3] ccp send_data error, exit
E [21/Dec/2013:01:11:46 +0330] [Job 2] Stopping unresponsive job.
E [21/Dec/2013:01:11:46 +0330] [Job 3] Stopping unresponsive job.
E [21/Dec/2013:01:12:57 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [21/Dec/2013:01:12:57 +0330] [Job 2] ccp send_data error, exit
E [21/Dec/2013:01:12:57 +0330] [Job 3] Invalid printer command "Clean".
E [21/Dec/2013:01:12:57 +0330] [Job 3] ccp send_data error, exit
E [21/Dec/2013:01:17:58 +0330] [Job 2] Stopping unresponsive job.
E [21/Dec/2013:01:17:58 +0330] [Job 3] Stopping unresponsive job.
E [21/Dec/2013:01:19:09 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [21/Dec/2013:01:19:09 +0330] [Job 2] ccp send_data error, exit
E [21/Dec/2013:01:19:09 +0330] [Job 3] Invalid printer command "Clean".
E [21/Dec/2013:01:19:09 +0330] [Job 3] ccp send_data error, exit
E [21/Dec/2013:01:24:10 +0330] [Job 2] Stopping unresponsive job.
E [21/Dec/2013:01:24:10 +0330] [Job 3] Stopping unresponsive job.
E [21/Dec/2013:01:25:21 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [21/Dec/2013:01:25:21 +0330] [Job 2] ccp send_data error, exit
E [21/Dec/2013:01:25:21 +0330] [Job 3] Invalid printer command "Clean".
E [21/Dec/2013:01:25:21 +0330] [Job 3] ccp send_data error, exit
E [21/Dec/2013:01:30:22 +0330] [Job 2] Stopping unresponsive job.
E [21/Dec/2013:01:30:22 +0330] [Job 3] Stopping unresponsive job.
E [21/Dec/2013:01:31:33 +0330] [Job 2] Can't connect to CCPD: Connection refused
E [21/Dec/2013:01:31:33 +0330] [Job 2] ccp send_data error, exit
E [21/Dec/2013:01:31:33 +0330] [Job 3] Invalid printer command "Clean".
E [21/Dec/2013:01:31:33 +0330] [Job 3] ccp send_data error, exit

AND

ls /var/log: http://paste.ubuntu.com/6669726

share|improve this question
    
do /dev/usb/lp0 exist? –  Braiam Dec 25 '13 at 15:36
    
@Braiam, Yes; it exists. –  mini Dec 31 '13 at 8:56
    
Is not creating the log... what the /var/log/cups say? edit your question. –  Braiam Dec 31 '13 at 18:25
    
ls /var/log/cups: paste.ubuntu.com/6670495; (Question edited, check last lines, please) –  mini Dec 31 '13 at 22:07
    
Can you check the permissions for /dev/usb/lp0? Are you in the listed group? –  Jeffery Williams Jan 15 at 4:58

protected by fossfreedom Jan 14 at 13:07

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Browse other questions tagged or ask your own question.