[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debian-users:48089] Re: Canon CAPT printer on Sarge



武藤様:

筑波大浅沼です。ありがとうございます。

> 元々のsrpmがひどいパッケージングで参ったのですが(配布用にmake distした
> 状態のtar.gzを出すくらいしてくれんかな)、1.30をビルドしてみました。
>
> http://kmuto.jp/debian/mtu/pool/contrib/c/cndrvcups-capt/cndrvcups-capt_1.30-1_i386.deb
> http://kmuto.jp/debian/mtu/pool/contrib/c/cndrvcups-capt/cndrvcups-capt_1.30-1_i386.deb
> http://kmuto.jp/debian/mtu/pool/non-free/c/cndrvcups-common/cndrvcups-common-cnpkmodule_1.30-1_i386.deb
>
> をダウンロードしてdpkg -iでインストールしてみてください。PPDも
> 入っています。
> 場合によってはcaptmonが発狂するかもしれないので、適宜kill -9して
> /etc/init.d/cndrvcups-capt startをし直してください。
> (lips4のほうも一応更新しています。UFR2のドライバも作らんといかんが)
>
> とりあえずLBP3000でcaptstatusuiでステータス表示されるというくらい
> までは試しました。


上記の2つのdebを持ってきて、dpkg -iでインストールしました。cndrvcups-
commonは1.10mtuのままです。

以前と同様に設定して、cupsの管理webからテストページ印刷を試みましたが、
フン詰まっています。「処理中」から動きません。 /var/log/error_logの関係
しそうなところを末尾に添付します。

また、captstatusuiを開いたところ、「プリンターエラー」とあり、
「/etc/ccpd.conf の DevicePath を確認してください。」となっています。
で、/etc/ccpd.confの内容を下に添付します。

====== /etc/ccpd.conf ==========
<Path>
CUPS_ConfigPath /etc/cups/
</Path>

<Printer lbp5000>
DevicePath /dev/usb/lp0
</Printer>

<Ports>
UI_Port 39787
</Ports>
===============================

本当に/dev/usb/lp0につながっているのか、ということになりますが、lsusbの
出力が以下の通りで、
=====================================
Unknown line at line 5953
Unknown line at line 5954
Unknown line at line 5955
Unknown line at line 5956
Unknown line at line 5957
Unknown line at line 5958
Unknown line at line 5959
Unknown line at line 5960
Unknown line at line 5961
Unknown line at line 5962
Unknown line at line 5963
Unknown line at line 5964
Bus 005 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 004: ID 04a9:2679 Canon, Inc.
Bus 001 Device 002: ID 0411:002a MelCo., Inc.
Bus 001 Device 001: ID 0000:0000
=====================================

/var/log/syslogの関係しそうなところが、
================================================================
Feb 22 10:17:25 vortex kernel: usb 1-3: new high speed USB device using
ehci_hcd and address 4
Feb 22 10:17:25 vortex kernel: usb 1-3: configuration #1 chosen from 1
choice
Feb 22 10:17:25 vortex kernel: drivers/usb/class/usblp.c: usblp0: USB
Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04A9 pid 0x2679
Feb 22 10:17:25 vortex udev[16419]: configured rule in
'/etc/udev/rules.d/udev.rules[28]' applied, 'lp0'
becomes 'usb/%k'
Feb 22 10:17:25 vortex udev[16419]: creating device node '/dev/usb/lp0'
======================================================================
です。


=============== /var/log/error_log ===================================
D [22/Feb/2007:10:47:25 +0900] CloseClient: 8
D [22/Feb/2007:10:47:27 +0900] ReadClient: 7 GET
/printers/lbp5000?op=print-test-page HTTP /1.1
D [22/Feb/2007:10:47:27 +0900] CGI /usr/lib/cups/cgi-bin/printers.cgi
started - PID = 17320
I [22/Feb/2007:10:47:27 +0900] Started
"/usr/lib/cups/cgi-bin/printers.cgi" (pid=17320)
D [22/Feb/2007:10:47:27 +0900] SendCommand: 7 file=9
D [22/Feb/2007:10:47:27 +0900] AcceptClient: 8 from localhost:631.
D [22/Feb/2007:10:47:27 +0900] ReadClient: 8 POST /printers/lbp5000 HTTP/1.1
D [22/Feb/2007:10:47:27 +0900] print_job: request file type is
application/postscript.
D [22/Feb/2007:10:47:27 +0900] check_quotas: requesting-user-name = 'root'
D [22/Feb/2007:10:47:27 +0900] print_job: requesting-user-name = 'root'
D [22/Feb/2007:10:47:27 +0900] Adding default job-sheets values
"none,none"...
I [22/Feb/2007:10:47:27 +0900] Adding start banner page "none" to job 45.
I [22/Feb/2007:10:47:27 +0900] Adding end banner page "none" to job 45.
I [22/Feb/2007:10:47:27 +0900] Job 45 queued on 'lbp5000' by 'root'.
D [22/Feb/2007:10:47:27 +0900] Job 45 hold_until = 0
D [22/Feb/2007:10:47:27 +0900] StartJob(45, 0x80965c8)
D [22/Feb/2007:10:47:27 +0900] StartJob() id = 45, file = 0/1
D [22/Feb/2007:10:47:27 +0900] job-sheets=none,none
D [22/Feb/2007:10:47:27 +0900] banner_page = 0
D [22/Feb/2007:10:47:27 +0900] StartJob: argv =
"lbp5000","45","root","Test Page","1",""," /var/spool/cups/d00045-001"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[0]="PATH=/usr/lib/cups/filter:/bin:/usr/bin"

D [22/Feb/2007:10:47:27 +0900] StartJob: envp[1]="SOFTWARE=CUPS/1.1"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[2]="USER=root"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[3]="CHARSET=utf-8"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[4]="LANG=ja"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[5]="TZ=Japan"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[6]="PPD=/etc/cups/ppd/lbp5000.ppd"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[7]="CUPS_SERVERROOT=/etc/cups"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[8]="RIP_MAX_CACHE=8m"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[9]="TMPDIR=/var/spool/cups/tmp"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[10]="CONTENT_TYPE=application/postscript"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[11]="DEVICE_URI=ccp:/var/ccpd/fifo0"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[12]="PRINTER=lbp5000"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[13]="CUPS_DATADIR=/usr/share/cups"
D [22/Feb/2007:10:47:27 +0900] StartJob:
envp[14]="CUPS_FONTPATH=/usr/share/cups/fonts"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[15]="CUPS_SERVER=localhost"
D [22/Feb/2007:10:47:27 +0900] StartJob: envp[16]="IPP_PORT=631"
D [22/Feb/2007:10:47:27 +0900] StartJob: statusfds = [ 10 11 ]
D [22/Feb/2007:10:47:27 +0900] StartJob: filterfds[1] = [ 12 -1 ]
D [22/Feb/2007:10:47:27 +0900] StartJob: filter =
"/usr/lib/cups/filter/pstops"
D [22/Feb/2007:10:47:27 +0900] StartJob: filterfds[0] = [ 13 14 ]
D [22/Feb/2007:10:47:27 +0900]
start_process("/usr/lib/cups/filter/pstops", 0xbfc45050, 0xbfc443c0, 12,
14, 11)I [22/Feb/2007:10:47:27 +0900] Started filter
/usr/lib/cups/filter/pstops (PID 17321) for job 45.
D [22/Feb/2007:10:47:27 +0900] StartJob: filter
="/usr/lib/cups/filter/pstocapt2"
D [22/Feb/2007:10:47:27 +0900] StartJob: filterfds[1] = [ 12 15 ]
D [22/Feb/2007:10:47:27 +0900]
start_process("/usr/lib/cups/filter/pstocapt2", 0xbfc45050,0xbfc443c0,
13, 15, 11)
I [22/Feb/2007:10:47:27 +0900] Started
filter/usr/lib/cups/filter/pstocapt2 (PID 17322) for job 45.
D [22/Feb/2007:10:47:27 +0900] StartJob: backend =
"/usr/lib/cups/backend/ccp"
D [22/Feb/2007:10:47:27 +0900] StartJob: filterfds[0] = [ -1 13 ]
D [22/Feb/2007:10:47:27 +0900]
start_process("/usr/lib/cups/backend/ccp", 0xbfc45050, 0xbf c443c0, 12,
13, 11)
I [22/Feb/2007:10:47:27 +0900] Started backend /usr/lib/cups/backend/ccp
(PID 17323) for job 45.
D [22/Feb/2007:10:47:27 +0900] ProcessIPPRequest: 8 status_code=0
D [22/Feb/2007:10:47:27 +0900] [Job 45] Page = 595x842; 14,14 to 581,828
D [22/Feb/2007:10:47:27 +0900] [Job 45] slowcollate=0, slowduplex=0,
sloworder=0
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%BoundingBox: 0 0 612 792
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%Pages: 1
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%LanguageLevel: 1
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%DocumentData: Clean7Bit
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%DocumentSuppliedResources:
procset testprint/1.1
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%DocumentNeededResources:
font Helvetica Helvetica-Bold Times-Roman
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%Creator: Michael Sweet, Easy
Software Products
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%CreationDate: May 11, 1999
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%Title: Test Page
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%EndComments
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%BeginProlog
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%BeginResource procset
testprint 1.1 0
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%EndResource
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%EndProlog
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%Page: 1 1
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%Page: 1 1
D [22/Feb/2007:10:47:27 +0900] [Job 45] pw = 566.2, pl = 813.2
D [22/Feb/2007:10:47:27 +0900] [Job 45] PageLeft = 14.4, PageRight = 580.6
D [22/Feb/2007:10:47:27 +0900] [Job 45] PageTop = 827.6, PageBottom = 14.4
D [22/Feb/2007:10:47:27 +0900] [Job 45] PageWidth = 595.0, PageLength =
842.0
D [22/Feb/2007:10:47:27 +0900] [Job 45] 0 %%EOF
D [22/Feb/2007:10:47:27 +0900] [Job 45] Saw EOF!
D [22/Feb/2007:10:47:27 +0900] [Job 45] pstocapt2 start.
D [22/Feb/2007:10:47:27 +0900] CloseClient: 8
=============================================================================================







-- 
=======================
筑波大学陸域環境研究センター
浅沼 順

Jun Asanuma
Assoc. Professor
Terrestrial Environment Research Center
Tsukuba Univeristy

URL: http://alpine.suiri.tsukuba.ac.jp
mail: asanuma@xxxxxxxxxxxxxxxxxxx
Voice&Fax: 029-853-6704