本文へ移動
サポートシェアリングソリューション
OKWAVE Plus

このQ&Aは役に立ちましたか?

締切済み
※ ChatGPTを利用し、要約された質問です(原文:DCP-J515NのLinuxドライバ)

DCP-J515NのLinuxドライバ

2023/10/12 22:35

このQ&Aのポイント
  • DCP-J515NのUbuntu14.04.5での印刷ができない問題について
  • DCP-J515NのLPRドライバとCUPSドライバのサイズが0バイトになる問題について
  • DCP-J515Nのスキャナドライバの一部が0バイトになる問題について
※ 以下は、質問の原文です

DCP-J515NのLinuxドライバ

2016/09/23 14:19

DCP-J515NをUbuntu14.04.5で使用してます。
数ヶ月ぶりに印刷しようとしたらできません。Synapticパッケージマネージャで確認してみたらLPRドライバとCUPSドライバの両方ともサイズが0バイトになっていました。
いったん削除して再インストールを試みるも、やはりLPRドライバは0バイトのままで、CUPSドライバのインストールを強行してもCUPSを起動したところで止まってしまいます。
スキャナドライバも、スキャンキーツール以外は0バイトになってしまいます。
Ubuntu提供のオープンソースのドライバはDCP-J515Nは対応してないようです(壊れるまで使っていたDCP-110Cのドライバはあったので複雑な心境です)。

※OKWaveより補足:「ブラザー製品」についての質問です。

回答 (11件中 6~10件目)

2016/09/25 15:36
回答No.6

>プロパティの「プリンターの状態」が「処理中 - プリンター "cups-server" が見つかりません。」となっていて、やはりインストール成功してないようです。

週明けまで待ってもらえますか。
昔は散々自宅でも弄り倒していたのですが、今は自宅にPCがなく、週が明ければ細々と確認できる環境を触れますので。

お礼

2016/09/25 21:10

たびたびのご対応ありがとうございます。
ジョブをクリアしてから sudo /etc/init.d/cups restart とすると、「プリンターの状態」が「待機中」になるのですが、何かジョブを送ると「処理中 - プリンター "cups-server" が見つかりません。」に戻ってしまいます。

質問者

このQ&Aは役に立ちましたか?

この質問は投稿から一年以上経過しています。
解決しない場合、新しい質問の投稿をおすすめします。

質問する
2016/09/24 17:26
回答No.5

と言うことはドライバーをインストールするべきパスが変更されていると言うことのようですね。
てっきり見た目にはインストールに成功していて実は失敗しているケースを疑っていたのですが、そうじゃないような気がしてきました。

試しに他機種のプリンタドライバーでSynapticを使ってサイズが確認できるものを探してみてください。
見つかったら、そのドライバーの.debを手作業で解凍する事で、インストールするべきパスを推測できます。

.debパッケージはarというUnixに古くからあるアーカイバ形式ですので
mkdir /tmp/xx
cd /tmp/xx
ar x xxxx.deb
で解凍し、続けて
tar xf data.tar
でインストールされるファイルを解凍できます。
この時解凍されるのは、/からの展開イメージそのままなので、どこに何をインストールしているのかがそのままわかります。

お礼

2016/09/24 18:50

Synapticでインストール成功するとプロパティに「インストール済ファイル」が出るので、それをコピペしてみます。

brother-lpr-drivers-common(1.0.0-4-0ubuntu3)1330 kB
/.
/usr
/usr/Brother
/usr/Brother/Printer
/usr/Brother/Printer/brio06aa.bcm
/usr/Brother/Printer/brio06ab.bcm
/usr/Brother/Printer/brio06ac.bcm
/usr/Brother/Printer/brio06af.bcm
/usr/Brother/Printer/brio06ag.bcm
/usr/Brother/inf
/usr/Brother/inf/brPrintList
/usr/Brother/inf/paperinf
/usr/Brother/inf/setupPrintcap
/usr/share
/usr/share/doc
/usr/share/doc/brother-lpr-drivers-common
/usr/share/doc/brother-lpr-drivers-common/changelog.Debian.gz
/usr/share/doc/brother-lpr-drivers-common/copyright

brother-cups-wrapper-common(1.0.0-10-0ubuntu6)50.2 kB
/.
/usr
/usr/Brother
/usr/Brother/Printer
/usr/Brother/Printer/brcupsconfpt1
/usr/share
/usr/share/doc
/usr/share/doc/brother-cups-wrapper-common
/usr/share/doc/brother-cups-wrapper-common/changelog.Debian.gz
/usr/share/doc/brother-cups-wrapper-common/copyright

質問者

補足

2016/09/24 19:07

brother-lpr-drivers-bh7(1.0.1-1-0ubuntu6)1073 kB
/.
/usr
/usr/Brother
/usr/Brother/Printer
/usr/Brother/Printer/bh7_filter
/usr/Brother/Printer/dcp130c
/usr/Brother/Printer/dcp130c/inf
/usr/Brother/Printer/dcp130c/inf/brPrintListij2
/usr/Brother/Printer/dcp130c/inf/brdcp130cfunc
/usr/Brother/Printer/dcp130c/inf/brdcp130crc
/usr/Brother/Printer/dcp130c/inf/brio06aa.bcm
/usr/Brother/Printer/dcp130c/inf/brio06ab.bcm
/usr/Brother/Printer/dcp130c/inf/brio06ac.bcm
/usr/Brother/Printer/dcp130c/inf/brio06af.bcm
/usr/Brother/Printer/dcp130c/inf/brio06ag.bcm
/usr/Brother/Printer/dcp130c/inf/paperinfij2
/usr/Brother/Printer/dcp130c/inf/setupPrintcapij
/usr/Brother/Printer/dcp130c/lpd
/usr/Brother/Printer/dcp130c/lpd/brdcp130cfilter
/usr/Brother/Printer/dcp130c/lpd/filterdcp130c
/usr/Brother/Printer/dcp130c/lpd/psconvertij2
/usr/Brother/Printer/dcp330c
/usr/Brother/Printer/dcp330c/inf
/usr/Brother/Printer/dcp330c/inf/brPrintListij2
/usr/Brother/Printer/dcp330c/inf/brdcp330cfunc
/usr/Brother/Printer/dcp330c/inf/brdcp330crc
/usr/Brother/Printer/dcp330c/inf/brio06aa.bcm
/usr/Brother/Printer/dcp330c/inf/brio06ab.bcm
/usr/Brother/Printer/dcp330c/inf/brio06ac.bcm
/usr/Brother/Printer/dcp330c/inf/brio06af.bcm
/usr/Brother/Printer/dcp330c/inf/brio06ag.bcm
/usr/Brother/Printer/dcp330c/inf/paperinfij2
/usr/Brother/Printer/dcp330c/inf/setupPrintcapij
/usr/Brother/Printer/dcp330c/lpd
/usr/Brother/Printer/dcp330c/lpd/brdcp330cfilter
/usr/Brother/Printer/dcp330c/lpd/filterdcp330c
/usr/Brother/Printer/dcp330c/lpd/psconvertij2
/usr/Brother/Printer/dcp540cn
/usr/Brother/Printer/dcp540cn/inf
/usr/Brother/Printer/dcp540cn/inf/brPrintListij2
/usr/Brother/Printer/dcp540cn/inf/brdcp540cnfunc
/usr/Brother/Printer/dcp540cn/inf/brdcp540cnrc
/usr/Brother/Printer/dcp540cn/inf/brio06aa.bcm
/usr/Brother/Printer/dcp540cn/inf/brio06ab.bcm
/usr/Brother/Printer/dcp540cn/inf/brio06ac.bcm
/usr/Brother/Printer/dcp540cn/inf/brio06af.bcm
/usr/Brother/Printer/dcp540cn/inf/brio06ag.bcm
/usr/Brother/Printer/dcp540cn/inf/paperinfij2
/usr/Brother/Printer/dcp540cn/inf/setupPrintcapij
/usr/Brother/Printer/dcp540cn/lpd
/usr/Brother/Printer/dcp540cn/lpd/brdcp540cnfilter
/usr/Brother/Printer/dcp540cn/lpd/filterdcp540cn
/usr/Brother/Printer/dcp540cn/lpd/psconvertij2
途中省略
/usr/bin
/usr/bin/brprintconf_bh7
/usr/bin/brprintconf_dcp130c
/usr/bin/brprintconf_dcp330c
/usr/bin/brprintconf_dcp540cn
途中省略
/usr/share
/usr/share/doc
/usr/share/doc/brother-lpr-drivers-bh7
/usr/share/doc/brother-lpr-drivers-bh7/changelog.Debian.gz
/usr/share/doc/brother-lpr-drivers-bh7/copyright

brother-cups-wrapper-bh7(1.0.0-10-0ubuntu6)742 kB
/.
/usr
/usr/Brother
/usr/Brother/Printer
/usr/Brother/Printer/dcp130c
/usr/Brother/Printer/dcp130c/cupswrapper
/usr/Brother/Printer/dcp130c/cupswrapper/brcupsconfpt1
/usr/Brother/Printer/dcp330c
/usr/Brother/Printer/dcp330c/cupswrapper
/usr/Brother/Printer/dcp330c/cupswrapper/brcupsconfpt1
/usr/Brother/Printer/dcp540cn
/usr/Brother/Printer/dcp540cn/cupswrapper
/usr/Brother/Printer/dcp540cn/cupswrapper/brcupsconfpt1
途中省略
/usr/lib
/usr/lib/cups
/usr/lib/cups/filter
/usr/lib/cups/filter/brlpdwrapperdcp130c
/usr/lib/cups/filter/brlpdwrapperdcp330c
/usr/lib/cups/filter/brlpdwrapperdcp540cn
途中省略
/usr/share
/usr/share/doc
/usr/share/doc/brother-cups-wrapper-bh7
/usr/share/doc/brother-cups-wrapper-bh7/changelog.Debian.gz
/usr/share/doc/brother-cups-wrapper-bh7/copyright
/usr/share/ppd
/usr/share/ppd/Brother
/usr/share/ppd/Brother/brdcp130c.ppd
/usr/share/ppd/Brother/brdcp330c.ppd
/usr/share/ppd/Brother/brdcp540cn.ppd
以下省略

質問者
2016/09/24 03:41
回答No.4

結論から言うと簡易インストーラーの動作と.debの内容が合っていないと判断するしかありません。
簡易インストーラーを使わず、各.debをダウンロードして、.debをダウンロードする際にブラウザに表示される「インストール方法」に従って手作業で環境作成と.debのインストールをしてみてください。

お礼

2016/09/24 14:25

インストール方法を見直したのですが、LANではなくUSB接続ですし、同じことをやって同じ結果になるしかありませんでした。
同じUbuntu14.04LTSで2年くらい印刷してきたのですが、アップデートでlibcなどのバージョンは上がっていくのでバイナリ互換が取れなくなったのでしょうか。14.04LTSより古いディストリはサポート切れてるので使うわけにいきませんし。
ありがとうございました。

質問者

補足

2016/09/25 13:21

ドライバーをインストールするパスが移動しただけでなく、ドライバーのディレクトリ構成も変わってますし、要求されるファイル名も変わっているような気がします。
CUPS設定ツール(system-config-printer)で印刷できないDCP-J515Nのアイコンをいったん削除し、デバイスURIを「ipp://cups-server/printers/」を指定し、PPDファイルに「/opt/brother/Printers/dcpj515n/cupswrapper/brother_dcpj515n_printer_en.ppd」を指定すると、再びDCP-J515Nのアイコンが出ることは出るのですが、プロパティの「プリンターの状態」が「処理中 - プリンター "cups-server" が見つかりません。」となっていて、やはりインストール成功してないようです。

質問者
2016/09/23 18:12
回答No.3

実行内容を以下に変えてください。

bash -x -v linuxbrjprinter-installer-2.0.0-1 2> /tmp/abc.txt ¦ tee -a /tmp/abc.txt

補足

2016/09/24 00:23

ご対応ありがとうございます。
http://www.winplus.jp/uploader/uploader01/download.php?No=416
にアップしました。
「モデル名を入力してください。」などのメッセージが出なかったので、「¦ tee 」以下のコマンドを入力しないで実行したものを↓にアップしてあります。CUPSドライバのインストール途中でCtrl-Cを押して無理やり終わらせてます。
http://www.winplus.jp/uploader/uploader01/download.php?No=417

質問者
2016/09/23 18:00
回答No.2

簡易インストーラーを実行する際に
bash -x -v linuxbrjprinter-installer-2.0.0-1 2>&1 ¦ tee /tmp/abc.txt
と実行し、abc.txtをどこかのアップローダーやdropboxなどの共有サービスを利用して私が見られるようにしてもらえますか。

CUPSのバージョン違いによってプリンタドライバーの互換性がなくなっている場合は、このドライバーが対応している古いUbuntuを今のUbuntuの中にインストールするくらいしかやりようがありませんが、互換性があるのならエラーの原因を取り除けば動かせるでしょう。

お礼をおくりました

さらに、この回答をベストアンサーに選びますか?

ベストアンサーを選ぶと質問が締切られます。
なおベストアンサーを選びなおすことはできません。