PHP5 On Mobile!-PHP5 On Mobile!- |回首頁|加入會員|
 線上討論區 繁/簡體
  下載 下載 我的訊息 部落格 線上討論區 文件搜尋 線上討論區 線上討論 我的訊息 我的訊息 會員服務 會員服務 回首頁 回首頁 
Skype : [Download] [ Blog ] [ Search ] [ Forum ] [ PM ] [ Member ] [ HOME ]

  文章主目錄 :: Mandriva Linux 教學手冊 :: Linux 常用語法

SANE Command

SANE Command

scanimage as follows:

scanimage -d mustek:/dev/scanner -h
If this works, you could try to acquire an image with:
scanimage -d mustek:/dev/scanner >t.pnm

To check that the SANE libraries are installed correctly you can use the test backend, even if you don't have a scanner or other SANE device:

scanimage -d test -T
You should get a list of PASSed tests.

If you are not sure what generic SCSI or USB device your scanner is connected to, try the command sane-find-scanner. Usually, It's sufficient to invoke the program without any arguments. Invoking this command should produce output similar to this:

$ sane-find-scanner
sane-find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/scanner
sane-find-scanner: found "MUSTEK MFC-06000CZ 1.01" at device /dev/sge

Note that sane-find-scanner will find any scanner that is connected to a SCSI bus and also some USB scanners. It will even find scanners that are not supported at all by SANE.

There may be several causes for the following messages from the frontends: "scanimage: no SANE devices found" or "xscanimage: no devices available.".

Your scanner is not recognized by any backend. It is not supported. You may ask the maintainer of your backend (see /usr/share/doc/sane-backends-1.0.9/AUTHORS) or the SANE mailing list (see above) if support is planned.
SANE can't access the device files (e.g /dev/sg0). Check the permissions.
Your backend is not listed in /etc/sane.d/dll.conf (or commented out).
There are older installations of SANE on your system. If you installed the SANE libraries in /usr/local/lib (default) you should check if there are older SANE libraries at /usr/lib. Remove them (rm -r /usr/lib/libsane* /usr/lib/sane).
If you can use SANE with scanimage but not with other (graphical) frontends, check that /etc/ contains /usr/local/lib and does not contain /usr/local/lib/sane. See also the documentation of the frontends.


share to plurk share to facebook

手機版(SANE Command):
作者: 總理大臣 /日期 / 編修
Linux 燒錄光碟(CD/DVD/DVD-RW)
[技巧]用shell script寄信給自己
Linux 備份 然後依日期存下修改檔
php command line 用法
SANE Command


網站地圖 關於作者 連絡我們 設為首頁  
     程式管理: jacch (jack chen)PHP5網管實驗室版權所有
     2001 - 2016 copyright by jacch . All rights reserved.. counter