
| ・ |
ドキュメントセンターを初めてご利用する方や運営方針についての基本的な姿勢をご覧になりたい方へ。
|
| ご利用の皆様から多く寄せられる質問にお答えしています。 |
|
| ・ |
ディーエーオフィスなどが利用する用語に関する解説を行います。
|
|
|
 |
 |  |
sane install (USB-スキャナ-gnome-freebsd) |
FreeBSD上のgnomeでスキャナを利用するには、SANE(Scanner Access Now Easy)を使う。SANEは、TWAINに似た仕組みで、frontends、backendsに分かれていて、スキャナサーバといったような使い方も想定されているのがTWAINと違う。SANEはportsにある。
! インストール
cd /usr/ports/graphics/sane-backends/
make install
cd /usr/ports/graphics/sane-frontends/
make install
! インストール時に選ぶオプション
Options for sane-backends 1.0.18
[X] USB USB support
[X] NLS NLS support
[ ] GPHOTO2 gPhoto2 support
Options for sane-frontends 1.0.14_2
[ ] GTK1 GTK1 support (Default is GTK2)
[X] GIMP also build xscanimage as a GIMP plug-in
! USBでの利用
USBスキャナの準備を整えて、端末へUSBケーブルにて接続すると、dmesgコマンドで確認できる。本文書の作成では、EPSON GT-7200Uを使っているが、特に設定を行うことなく使えた。
dmesg
ugen0: EPSON EPSON Scanner 010F, rev 1.10/1.00, addr 2
! スキャナの認識状態の例
未接続
# scanimage -L
No scanners were identified. If you were expecting something different,
check that the scanner is plugged in, turned on and detected by the
sane-find-scanner tool (if appropriate). Please read the documentation
which came with this software (README, FAQ, manpages).
接続・認識
# scanimage -L
device `plustek:libusb:/dev/usb1:/dev/ugen0' is a Epson Perfection 1250/Photo USB flatbed scanner
! スキャナをgimpから利用
自身のホームディレクトリにある、gimpディレクトリを確認して、プラグインとしてリンクを追加する。gimpを再起動すると、「ファイル」メニューの「取り込み」に、「xscanimage」という項目が出てくる。「device dialog...」を選んでも良いし、他の認識名を選んでも良い。xscanimageを実行したときと同じ画面が表示される。
# ln -sf /usr/local/bin/xscanimage ~/.gimp-2.2/plug-ins/xscanimage
|
| 文書番号 |
07404 |
| 日付 |
2007.01.06 |
| 参照数 |
981 |
|