1sane-hpsj5s(5) SANE Scanner Access Now Easy sane-hpsj5s(5)
2
3
4
6 sane-hpsj5s - SANE backend for HP ScanJet 5S sheet-fed scanner
7
9 The sane-hpsj5s library implements a SANE (Scanner Access Now Easy)
10 backend that provides access to a parallel port Hewlett-Packard ScanJet
11 5S scanner.
12
13 IMPORTANT: this is alpha code. Don't expect this to work correctly.
14 Many functions are missing, others contain errors. In some cases, your
15 computer might even hang. It cannot be excluded (although I consider it
16 extremely improbable) that your scanner will be damaged.
17
18 LIMITATIONS: For now this backend works only on Linux. This limitation
19 is due to dependence on the libieee1284(3) library. If your system sup‐
20 ports libieee1284(3) too, this backend should work. If you ported li‐
21 bieee1284(3) for your platform, please let me know. Your system should
22 support EPP (or EPP+ECP) mode to operate this scanner. Future versions
23 will support ECP and SPP (Nibble and Byte) modes also. It's planned to
24 support scanners not only at daisy-chain position 0, but anywhere. Sup‐
25 port for multiple scanners could be implemented too.
26
27 Current version implements only gray scale scanning. True Color and B/W
28 modes are not supported for now.
29
30 That said, TESTERS ARE WELCOME. Send your bug reports and comments to
31 Max Vorobiev <pcwizard@yandex.ru>.
32
34 This backend expects device names of the form:
35
36 special
37
38 Where special is the parallel port name in form, libieee1284(3) ex‐
39 pects. It seems to be system dependent. Under Linux it's parport0, par‐
40 port1, etc.
41
43 The contents of the hpsj5s.conf file is a list of parport names that
44 correspond to HP ScanJet 5S scanners. Empty lines and lines starting
45 with a hash mark (#) are ignored. Only one device name can be listed
46 in hpsj5s.conf for this moment. Future versions will support daisy
47 chain selection.
48
49
51 It seems that HP ScanJet 5S scanner uses software noise correction.
52 This feature, along with gamma correction and calibration, are not im‐
53 plemented for now. They will be handled in future versions. Native
54 resolution for this scanner is 300 DPI. Other modes may present alias‐
55 ing artifacts.
56
58 /etc/sane.d/hpsj5s.conf
59 The backend configuration file (see also description of
60 SANE_CONFIG_DIR below).
61
62 /usr/lib64/sane/libsane-hpsj5s.a
63 The static library implementing this backend.
64
65 /usr/lib64/sane/libsane-hpsj5s.so
66 The shared library implementing this backend (present on systems
67 that support dynamic loading).
68
70 SANE_CONFIG_DIR
71 This environment variable specifies the list of directories that
72 may contain the configuration file. On *NIX systems, the direc‐
73 tories are separated by a colon (`:'), under OS/2, they are sep‐
74 arated by a semi-colon (`;'). If this variable is not set, the
75 configuration file is searched in two default directories:
76 first, the current working directory (".") and then in
77 /etc/sane.d. If the value of the environment variable ends with
78 the directory separator character, then the default directories
79 are searched after the explicitly specified directories. For
80 example, setting SANE_CONFIG_DIR to "/tmp/config:" would result
81 in directories tmp/config, ., and /etc/sane.d being searched (in
82 this order).
83
84 SANE_DEBUG_HPSJ5S
85 If the library was compiled with debug support enabled, this en‐
86 vironment variable controls the debug level for this backend.
87 Higher debug levels increase the verbosity of the output.
88
89
91 sane(7), libieee1284(3)
92 http://hpsj5s.sourceforge.net
93 http://cyberelk.net/tim/libieee1284
94
96 Max Vorobiev
97 Man page mostly based on canon.man.
98
99
100
101 13 Jul 2008 sane-hpsj5s(5)