
Ubuntu日本語フォーラム

ログインしていません。
ハードウェアのフォーラムに投稿すべきか迷ったのですが、こちらに投稿させていただきました。
ご教示ください。
8.10 で使用していた PC に kubuntu-9.04-desktop をクリーンインストールし
Japaneseリポジトリの追加などを済ませました。
8.10 導入時と同様に Sinaptic にて下記ファイルをインストールしました。
brother-lpr-drivers-bh7
brother-cups-wrapper-bh7
Kメニュー → アプリケーション → システム → Printer Configration
の
Add New Printer
↓
New Network Printer
で無事に識別され、何の問題もなく導入できました。
しかし、上記の
Kメニュー → アプリケーション → システム → Printer Configration
の
Local Printer として登録された
MFC-860CN の オプションとして Tray2 や Auto Select を選択しても Tray1 から給紙されてしまいます。
また テストページを印刷すると印字位置が25mmほどずれているらしく、上部25mmが途切れた状態で印刷されます。
ブラウザから
http://localhost:631/printers/
を確認しましたが、Printer configration で登録した内容は反映されているようです。
OpenOffice や Adobe Reader からの印刷も同様にずれて印刷されます。
また同じネットワーク上の XP からは印刷位置もトレイの選択も問題ありません。
なにか設定を誤っているのか、またはドライバーのバグでしょうか?
PC1
三菱 Apricot cx18sd
CPU Pen4 1.8GHz
mem 1G
グラフィック nVidia GeForce2MX (AGP)
kubuntu 9.04 desktop
PC2
Sotec PC STATION
CPU Celeron 2.7GHz
mem 256MB
WinXP SP3
プリンター
Brother MFC-5860CN
ネットワーク接続
IP 192.168.24.50 に固定
最後の編集者: y2u (2009-05-08 18:08:52)
オフライン
自己レスとなりますが Brother 提供の LPRドライバ と CUPS WRAPPERドライバで解決できました。
ドライバの導入に少々マゴついたので手順を載せておきます。
1.まず事前に Sinaptic にて導入しておいたドライバを削除します。
# brother-cups-wrapper-bh7 (1.0.0-10-0ubuntu5)
# brother-cups-wrapper-common (1.0.0-10-0ubuntu5)
# brother-lpr-drivers-bh7 (1.0.1-1-0ubuntu3)
# brother-lpr-drivers-common (1.0.0-4-0ubuntu1)
2.Brother サイトより
MFC-5860CN の Debian 用の LPRドライバ と CUPS WRAPPERドライバ を適当な場所にダウンロードしておきます。
3.端末より LPRドライバ をインストールします。
(以下では/temp にこれらをダウンロードしていますので適宜読み替えてください。)
y2ueno@y2ueno-desktop:/tmp$ sudo dpkg -i --force-all mfc5860cnlpr-1.0.1-1.i386.deb [sudo] password for y2ueno: 未選択パッケージ mfc5860cnlpr を選択しています。 (データベースを読み込んでいます ... 現在 167212 個のファイルとディレクトリがインストールされています。) (mfc5860cnlpr-1.0.1-1.i386.deb から) mfc5860cnlpr を展開しています... mfc5860cnlpr (1.0.1-1) を設定しています ... mkdir: ディレクトリ `/var/spool/lpd/mfc5860cn' を作成できません: No such file or directory chown: `/var/spool/lpd/mfc5860cn'にアクセスできません: No such file or directory chgrp: `/var/spool/lpd/mfc5860cn'にアクセスできません: No such file or directory chmod: `/var/spool/lpd/mfc5860cn'にアクセスできません: No such file or directory
mkdir に失敗となるので
y2ueno@y2ueno-desktop:/tmp$ sudo mkdir /var/spool/lpd/mfc5860cn mkdir: ディレクトリ `/var/spool/lpd/mfc5860cn' を作成できません: No such file or directory
仕方なく
Nautilus で
/var/spool
を管理者権限で開き
/lpd
さらに /lpd 以下に
/mfc5860cn
を作成。
再度、端末より
y2ueno@y2ueno-desktop:/tmp$ sudo dpkg -i --force-all mfc5860cnlpr-1.0.1-1.i386.deb (データベースを読み込んでいます ... 現在 167232 個のファイルとディレクトリがインストールされています。) mfc5860cnlpr 1.0.1-1 を (mfc5860cnlpr-1.0.1-1.i386.deb で) 置換するための準備をしています ... mfc5860cnlpr を展開し、置換しています... mfc5860cnlpr (1.0.1-1) を設定しています ...
4.端末より CUPS WRAPPERドライバ をインストールします。
y2ueno@y2ueno-desktop:/tmp$ sudo dpkg -i --force-all mfc5860cncupswrapper-1.0.1-1.i386.deb 未選択パッケージ mfc5860cncupswrapper を選択しています。 (データベースを読み込んでいます ... 現在 167232 個のファイルとディレクトリがインストールされています。) (mfc5860cncupswrapper-1.0.1-1.i386.deb から) mfc5860cncupswrapper を展開しています... mfc5860cncupswrapper (1.0.1-1) を設定しています ... /usr/local/Brother/Printer/mfc5860cn/cupswrapper/cupswrappermfc5860cn: 70: cannot create /usr/share/cups/model/brmfc5860cn.ppd: Directory nonexistent /usr/local/Brother/Printer/mfc5860cn/cupswrapper/cupswrappermfc5860cn: 270: cannot create /usr/share/cups/model/brmfc5860cn.ppd: Directory nonexistent /usr/local/Brother/Printer/mfc5860cn/cupswrapper/cupswrappermfc5860cn: 274: cannot create /usr/share/cups/model/brmfc5860cn.ppd: Directory nonexistent chmod: `/usr/share/cups/model/brmfc5860cn.ppd'にアクセスできません: No such file or directory cp: stat `/usr/share/cups/model/brmfc5860cn.ppd'を実行できません: No such file or directory chmod: `/usr/share/ppd/brmfc5860cn.ppd'にアクセスできません: No such file or directory * Restarting Common Unix Printing System: cupsd [ OK ] lpadmin: PPD ファイルをコピーできません!
となるので上記手順と同じく
Nautilus で
/usr/share/cups
を管理者権限で開き
/model
を作成。
再度、端末より
2ueno@y2ueno-desktop:/tmp$ sudo dpkg -i --force-all mfc5860cncupswrapper-1.0.1-1.i386.deb (データベースを読み込んでいます ... 現在 167235 個のファイルとディレクトリがインストールされています。) mfc5860cncupswrapper 1.0.1-1 を (mfc5860cncupswrapper-1.0.1-1.i386.deb で) 置換するための準備をしています ... * Restarting Common Unix Printing System: cupsd [ OK ] mfc5860cncupswrapper を展開し、置換しています... mfc5860cncupswrapper (1.0.1-1) を設定しています ... * Restarting Common Unix Printing System: cupsd [ OK ]
5.ブラウザから CUPS を開き
『新しいプリンターの追加』
から MFC-5860CN を選択し、登録完了。
*USB接続されたプリンターでは既に登録済みとなるかもしれません。
6.CUPS には
Sinaptic でインストールしたドライバ用の MFC-5860CN がまだ存在するので削除しておく。
新しく登録したドライバでは印字位置も問題なく、またトレイの選択も問題無しでした。
コマンドだけでインストールすることも可能なのかもしれませんが、
su や su root では
su: 認証失敗
となってしまうため、
GUI のファイルマネージャーで回避しました。
オフライン