⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 scanner-hp-sane.txt

📁 《嵌入式系统设计与实例开发实验教材二源码》Linux内核移植与编译实验
💻 TXT
字号:
Copyright (C) 1999, 2000 David E. NelsonApril 26, 2000CHANGES- Amended for Linux-2.3.99-pre6-3- Updated for multiple scanner supportINTRODUCTIONThis document will hopefully provide enough info on how to get SANEworking with a Hewlett Packard USB capable scanner using the USBinterface.  The majority of HP Scanners support the Scanner ControlLanguage (SCL) which is both published by HP and supported by SANE.The only HP Scanners that I'm aware of that do not support SCL are the4200C ,3300C, and the PhotoSmart S20.  All other HP scanners with USBinterfaces should work (4100C, 5200C, 6200C, and 6300C) as do modelsthat are derived from the models above. ie the 6350C which is a 6300Cwith a transparency adaptor included with the scanner at time ofpurchase.  Of course as HP releases new scanners this information maychange.REQUIREMENTSIn order to get this running you'll need USB support in your kernel inaddition to USB Scanner support.  Please refer to scanner.txt forissues pertaining to Linux USB and USB Scanner support.An installed version of SANE which is available fromhttp://www.mostang.com/sane/.  Testing has been performed usingversion SANE-1.0.1.  For instructions on building and installing SANE,refer to the various README files within the SANE distribution.The latest SANE HP backend is available from http://www.kirchgessner.net.At the time of this writing, version 0.83 was available.OK, I'VE INSTALLED SANE. SO WHAT DO I DO NOW?NOTE: $INSTALL_DIR is the location where SANE is installed.  It may be/usr/local, /usr, /opt or somewhere else.  If you don't know, ask yoursystem administrator.1) Make sure that you have the libsane-hp.* libraries under the$INSTALL_DIR/lib/sane/ directory.  If you don't, then the HP backendwas either not compiled or installed properly.2) Under the directory $INSTALL_DIR/etc/sane.d/ edit the followingfiles: dll.conf, hp.conf.  dll.conf:  Make sure that the 'hp' entry is present and uncommented.  hp.conf: This should contain two lines:    /dev/usbscanner    option connect-deviceNOTE: If you are using multiple scanners, make sure to have the correctdevice, ie /dev/usbscanner0.  See scanner.txt for more info.3) You should now be able to use SANE (xscanimage or scanimage).Don't forget to read any relevant man pages regarding the usage ofSANE.  If you have other entries uncommented in 'dll.conf', you mayhave to specify the device to (x)scanimage.  Again, `man` is yourfriend.  The xscanimage (1) man page has info on how to get 'The Gimp'to work with xscanimage.  Note that Gimp support must be compiled intoSANE for it to work.  If you are dealing with a RedHat system, thismeans that you'll also need to install the gimp-devel rpm packageprior to compiling SANE.NOTE: The issues regarding core dumping by (x)scanimage have (or seemto be thus far) been resolved with version 0.2+ of the USB scannerdriver which should be available in linux-2.3.23.  If you noticeotherwise, please contact me.David /\/elsondnelson@jump.nethttp://www.jump.net/~dnelson

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -