2011.11.27
Using the HP 4470c Scanner Under Windows 7
Neither Hewlett Packard nor Microsoft Windows 7 offer native support for my HP 4470c scanner. Throwing a working scanner away to buy a new one only because some software was missing seemed like a waste, so I looked for an alternative solution. This is how I made it work using SANE, an open source framework for scanners.
- I downloaded the SANE back-end source code from here.
- I compiled the code under Cygwin,
the collection of tools that provide a Linux look and feel environment for Windows.
This involved the following steps.
- Installing Cygwin's libusb-win32 library.
- Modifying my PC's
PATH
to move the Cygwinbin
directory in front of the ActiveState Perlsite/bin
one, because Perl's was interfering by supplying a useless version of gcc that wasn't using the Cygwin-installed libraries. - Running the usual
./configure
step. - Put within single quotes the latex and dvips commands in
doc/Makefile
, because the spaces and brackets in theProgram Files (x86)
MikTeX installation directory were causing the shell convulse. - Running
make install
.
- I downloaded and installed the libusb-win32 device driver for my scanner.
This involved
- unpacking the binary in a temporary directory, and
- running the
bin/inf-wizard.exe
in order to create a driver for my scanner.
scanimage >file.pnmRead and post comments