[vine-users:082647] Re: Canon LBP7010Cで印刷できず困っています

中山正隆 dkaez500 @ kyoto.zaq.ne.jp
2014年 11月 29日 (土) 01:35:44 JST


中山です。長南様ありがとうございます。

> 確認しますが、LBP7010C は、パソコンとはネットワーク接続ではなく、
> USB 接続なんですね。そして、ネットプリンターとおっしゃっているのは、
> 他のパソコンからもジョブを受け付けるということですね。

その通り、パソコンにはUSB接続をしており、他のPCからもジョブを受け付けると云う事です。

> それで、思い出したことがあります。Canon のプリンタについては、
> debian-users ML でも問題になったことがあります。そのとき出た話ですが、
> Device URI の指定は、マニュアルには -v ccp://localhost:59687 と書いて
> あるけれど、実際には -v ccp:localhost:59687 と // を取らないと、
> うまく行かない、という情報がありました。試してみる価値があると思います。
> (http://lists.debian.or.jp/debian-users/201401/msg00026.html のあたり)
> 
> /etc/cups/printers.conf をエディタで直接書き換えれば、済むのでしょうか。

エディターで書き換えて見ましたが、変わりは有りませんでした。

# /usr/sbin/lpadmin -p LBP7010C -m CNCUPSLBP7010CCAPTJ.ppd -v ccp:localhost:59687 -E
で再度設定して見ました。しかしプリンターは動きません。

> 結果としてできた /etc/cups/printers.conf や /etc/ccpd.conf を
> 載せてくださった方が、他人には状況がよくわかります。それから、
> "ps ax | grep 'cups\|ccpd'" の結果なども。

/etc/cups/printerts.confは、以下の通りです。

# Printer configuration file for CUPS v1.4.8
# Written by cupsd on 2014-11-29 01:17
# DO NOT EDIT THIS FILE WHEN CUPSD IS RUNNING
<Printer LBP7010C>
Info LBP7010C
MakeModel Canon LBP7010C CAPT (JP)
DeviceURI ccp:localhost:59687
State Idle
StateTime 1417191419
Type 8393868
Product (lbp7010c)
Filter application/vnd.cups-raw 0 -
Filter application/vnd.cups-postscript 0 pstocapt3
Filter application/vnd.cups-command 0 commandtops
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

/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 LBP7010C>
DevicePath /dev/usb/lp0
</Printer>

<Ports>
# Status monitoring socket port.
#  Default 59787
UI_Port  59787
PDATA_Port  59687
</Ports>

# ps ax | grep 'cups\|ccpd' は、
 4273 ?        Rs   440:41 /usr/sbin/ccpd
 6828 ?        Ss     0:02 cupsd -C /etc/cups/cupsd.conf
 6854 ?        Ss     0:00 /usr/sbin/ccpd
 6857 ?        S      0:00 /usr/sbin/ccpd
です。
 
-- 
ZAQ <dkaez500 @ kyoto.zaq.ne.jp>


vine-users メーリングリストの案内