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
21 libieee1284(3) for your platform, please let me know. Your system
22 should support EPP (or EPP+ECP) mode to operate this scanner. Future
23 versions will support ECP and SPP (Nibble and Byte) modes also. It's
24 planned to support scanners not only at daisy-chain position 0, but
25 anywhere. Support 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)
39 expects. It seems to be system dependent. Under Linux it's parport0,
40 parport1, 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 is not implemented for now. So does gamma correction and
53 calibration. I'll handle it in future versions. Native resolution for
54 this scanner is 300 DPI. Other modes could be jagged in some ways.
55
57 /etc/sane.d/hpsj5s.conf
58 The backend configuration file (see also description of
59 SANE_CONFIG_DIR below).
60
61 /usr/lib64/sane/libsane-hpsj5s.a
62 The static library implementing this backend.
63
64 /usr/lib64/sane/libsane-hpsj5s.so
65 The shared library implementing this backend (present on systems
66 that support dynamic loading).
67
69 SANE_CONFIG_DIR
70 This environment variable specifies the list of directories that
71 may contain the configuration file. Under UNIX, the directories
72 are separated by a colon (`:'), under OS/2, they are separated
73 by a semi-colon (`;'). If this variable is not set, the config‐
74 uration file is searched in two default directories: first, the
75 current working directory (".") and then in /etc/sane.d. If the
76 value of the environment variable ends with the directory sepa‐
77 rator character, then the default directories are searched after
78 the explicitly specified directories. For example, setting
79 SANE_CONFIG_DIR to "/tmp/config:" would result in directories
80 tmp/config, ., and /etc/sane.d being searched (in this order).
81
82 SANE_DEBUG_HPSJ5S
83 If the library was compiled with debug support enabled, this
84 environment variable controls the debug level for this backend.
85 Higher debug levels increase the verbosity of the output.
86
87
89 sane(7), libieee1284(3)
90 http://hpsj5s.sourceforge.net
91 http://cyberelk.net/tim/libieee1284
92
94 Max Vorobiev
95 Man page mostly based on canon.man.
96
97
98
99 13 Jul 2008 sane-hpsj5s(5)