6
To be able to compile sane-backends, you need to have Cygwin installed,
7
with at least the following package(s):
10
You can get Cygwin at http://sources.redhat.com/cygwin/
6
To be able to compile sane-backends, you need to have either Cygwin
7
or Mingw compilers and a suitable POSIX compatible environment.
9
You can get the Cygwin POSIX compatible environment for Windows
10
Windows and the Cygwin gcc compiler at http://www.cygwin.com
12
You can get the MSYS POSIX compatible environment for Windows and the
13
MinGW gcc compiler at http://www.mingw.org/wiki/MSYS
12
15
The scanner must be detected by Windows and not be disabled. Check
13
16
with the hardware manager.
19
See general README for build basics. The autoconf script (configure) checks
20
for C++ compilers and misdetects CC (=cc = gcc) a a c++ compiler because of
21
the case-insensitive filesystem. If that happens, one work-around will be to
22
install a real C++ compiler.
22
See general README for build basics. If a given backend fails to
23
compile, you can use the BACKENDS variable to limit compilation
24
to backends your interested in:
26
./configure BACKENDS=epson2
28
32
If you have more than one scanner, you should do the following:
30
34
- run sane-find-scanner to get the device name of the scanner. The
31
name is something like h0b0t6l0, meaning hba 0, bus 0, scsi id 6 and
35
name for scsi devices is something like h0b0t6l0, meaning hba 0, bus 0,
34
38
- edit the config file for the backend
35
(/usr/local/etc/sane.d/xxxx.conf) and add the scanner device name on
39
(/path/to/sane/etc/sane.d/xxxx.conf) and add the scanner device name on
42
- Set environment variable SANE_CONFIG_DIR to point to the directory
43
where the config files are located.
38
45
Run "scanimage > out.pnm" to get a scan.
40
xscanimage and XSane also work. xscanimage compiles and runs out of
41
the box. XSane 0.92 needs a couple build fixes.
47
xscanimage ans XSane have been reported to compile and run in the past
47
- Only SCSI and USB (with libusb-win32) scanners may work. No
48
FireWire/Parallel. The Cygwin libusb port is at
49
http://sourceforge.net/projects/libusb-win32.
53
- Only SCSI, USB (with libusb-win32), and network scanners may work. No
54
FireWire/Parallel. The Cygwin libusb port can be installed
55
with Cygwin setup.exe or can be compiled manually under cygwin
56
or mingw using the libusb-win32 port:
57
http://sourceforge.net/apps/trac/libusb-win32/wiki
51
- Tested on Windows 2000 only. Should work on Windows NT/XP too;
52
may or may not work on Windows 95/98/ME.
59
- Tested on Windows XP, 7, and using Wine on Linux.
54
61
- Some scanners' backend may not work because of requirement not
62
supported by Cygwin or MinGW.