操作系统:Ubuntu 13.10 64位
驱动程序:CAPT v2.60 -> debian 软件包 64 位
打印机:LBP3100B
关于这个“答案”,我已经在我的计算机上安装了佳能 CAPT 驱动程序,但是当我尝试启动/重新启动 ccpd 时,出现此错误:
但是,除非我启动 ccpd,否则打印机无法工作。以下是 的内容/etc/ccpd.conf
:
# 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>
取消注释LogDirectoryPath /var/log/CCPD/
并尝试打印页面后,似乎未创建日志文件:
$ ls /var/log/CCPD/
ls: cannot access /var/log/CCPD/: No such file or directory
下面的图片是从打印机属性对话框中截取的:
下面是/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
和
ls /var/log
:http://paste.ubuntu.com/6669726