Import 2.3.99pre7-1
[davej-history.git] / Documentation / usb / scanner-hp-sane.txt
blobc47491765123569e5d97c20a5b2d6632265b4d6f
1 Copyright (C) 1999, 2000 David E. Nelson
3 Mar. 23, 2000
5 CHANGES
7 - Amended for Linux-2.3.40
8 - Updated for multiple scanner support
11 INTRODUCTION
13 This document will hopefully provide enough info on how to get SANE
14 working with a Hewlett Packard USB capable scanner using the USB
15 interface.  The majority of HP Scanners support the Scanner Control
16 Language (SCL) which is both published by HP and supported by SANE.
17 The only HP Scanners that I'm aware of that do not support SCL are the
18 4200C and the 3300C.  All other HP scanners with USB interfaces should
19 work (4100C, 5200C, 6200C, and 6300C).  Of course as HP releases new
20 scanners this information may change.
23 REQUIREMENTS
25 In order to get this running you'll need USB support in your kernel in
26 addition to USB Scanner support.  Please refer to scanner.txt for
27 issues pertaining to Linux USB and USB Scanner support.
29 An installed version of SANE which is available from
30 http://www.mostang.com/sane/.  Testing has been performed using
31 version SANE-1.0.1.  For instructions on building and installing SANE,
32 refer to the various README files within the SANE distribution.
34 The latest SANE HP backend is available from http://www.kirchgessner.net.
35 At the time of this writing, version 0.83 was available.
38 OK, I'VE INSTALLED SANE. SO WHAT DO I DO NOW?
40 NOTE: $INSTALL_DIR is the location where SANE is installed.  It may
41 be /usr/local, /usr, /opt or somewhere else.  If you don't know, ask
42 your system administrator.
44 1) Make sure that you have the libsane-hp.* libraries under the
45 $INSTALL_DIR/lib/sane/ directory.  If you don't, then the HP backend
46 was either not compiled or installed properly.
48 2) Under the directory $INSTALL_DIR/etc/sane.d/ edit the following
49 files: dll.conf, hp.conf.
51   dll.conf:  Make sure that the 'hp' entry is present and uncommented.
53   hp.conf: This should contain two lines:
55     /dev/usbscanner
56     option connect-device
58 NOTE: If you are using multiple scanners, make sure to have the correct
59 devince, ie /dev/usbscanner0.  See scanner.txt for more info.
61 3) You should now be able to use SANE (xscanimage or scanimage).
63 Don't forget to read any relevant man pages regarding the usage of
64 SANE.  If you have other entries uncommented in dll.conf, you may have
65 to specify the device to (x)scanimage.  Again, `man` is your friend.
66 The xscanimage (1) man page has info on how to get 'The Gimp' to work
67 with xscanimage.  Note that Gimp support must be compiled into SANE
68 for it work.  If you are dealing with a RedHat system, this means that
69 you'll also need to install the gimp-devel rpm package.
71 NOTE: The issues regarding core dumping by (x)scanimage have (or seem
72 to be thus far) been resolved with version 0.2+ of the USB scanner
73 driver which should be available in linux-2.3.23.  If you notice
74 otherwise, please contact me.
76 David /\/elson
77 dnelson@jump.net
78 http://www.jump.net/~dnelson