Scanner

Sane (Scanner Access Now Easy) is the program to get the scanner support in linux. http://www.sane-project.org/sane-supported-devices.html gives the list of supported devices.

For Gentoo Linux: Consider to set the usb and scanner useflag.

Sane backend

Sane has a back end dealing with the hardware so install it sane-backends.

For usb scanners check what has been detected lsusb or usbview and then to have sane find the scanner sane-find-scanner. To see what you have:

scanimage -L

device `hp3500:libusb:005:003' is a Hewlett-Packard ScanJet 3500 scanner

Important to know is `hp3500:libusb:005:003' the name of the scanner.

scanimage -d hp3500:libusb:005:003 > image.pnm will scan.

Sane Frontend

Now get a sane frontend as xsane or the simple sane-frontends providing xscanimage.

The frontends have options as enable ocr or gimp integration (For Gentoo set those useflags).

OCR (Optical Character Recognition) can convert picture to text there are GOCR, KADMOS, OCRAD. Under gentoo emerge gocr however do not expect too much from a OCR program. For OCR use grey pictures and make test with the resolution, too high resolution does not give the best results. 800DPI is a good value.

To get good scanning results for something as you would photocopy use: 150 dpi gray

For HP usb devices install the hplip (HP Linux Imaging Printing) support package. Type hp-toolbox


Linurs Hosttech startpage