summaryrefslogtreecommitdiff
path: root/tools/README
blob: 6002113a3e873be784a2cb163167f307150a940e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
2006-05-10

This directory contains various tools that may be useful:

 hotplug/:
        Linux hotplug script and an automatically generated config file
        (libsane.usermap) used to change the permissions on the libusb "device
        nodes" in /proc/bus/usb/ when a scanner is plugged in. For newer Linux
        kernels, you may need to use udev instead.  Please read the README file
        in this directory for instructions.

 hotplug-ng/:
        Linux hotplug-ng script and an automatically generated config file
        (libsane.db) used to change the permissions on the libusb "device nodes"
        in /proc/bus/usb/ when a scanner is plugged in. For newer Linux kernels,
        you may need to use udev instead.  Please read the README file in this
        directory for instructions.

 udev/:
	Contains a automatically generated udev rules file. udev now replaces
	hotplug and provides all the functionalities of hotplug. libusb 0.1.12
	or newer is necessary.

 openbsd/:
 	Contains example scripts for hotplugd(8) for USB scanners accessed via
	libusb.

 sane-find-scanner:
        Attempts to find a SCSI scanner attached to your system.
        Invoke with "sane-find-scanner -h" to get command-line
        syntax. More details can be found in the man page
        sane-find-scanner(1).

 xerox:
        A simple script to make photocopies ("xeroxing").  In
        the script, you may need to adjust the device name
        assigned to variable DEV and the resolution assigned
        to variable RES as well as the paper with and height
        (variables WIDTH and HEIGHT, respectively.

 mustek600iin-off:
        Allows you to turn off a Mustek 600 II N scanner.
        Use "make mustek600iin-off" to compile.

 umax_pp:
	Command line utility to scan on UMAX astra 1220P,
	1600P and 2000P, without using the backend. So that
	scanner protocol can be tested directly.

 gamma4scanimage: Creates a gamma table in the format expected by scanimage.
	You can define a gamma value, shadow and highlight. 
	Take a look at manual page gamma4scanimage for further information.

 RenSaneDlls.cmd: Convert backend-DLL-filenames according to 8.3 naming
        convention necessary for DLLs on OS/2.

Maybe useful for SANE developers:

 sane-config:
        Show SANE version, linker flags etc. Might be useful for 
        frontend developers.

 sane-desc:
        Generate SANE webpages (and ASCII lists) from backend .desc files.
        Run "sane-desc --help" for details. The default lists are generated
        in doc/Makefile. 

 check-po.awk:
        Print untranslated and fuzzy messages and their line numbers in the
        source code and po file. Example:
           cd po/ ; ../tools/check-po.awk sane-backends.de.po
        You may need to adjust the path of awk in the first line of the
        script. More documentation is in the script itself.