1sane-hs2p(5)             SANE Scanner Access Now Easy             sane-hs2p(5)
2
3
4

NAME

6       sane-hs2p - SANE backend for Ricoh SCSI flatbed/ADF scanners
7

DESCRIPTION

9       The sane-hs2p library implements a SANE (Scanner Access Now Easy) back‐
10       end that provides access to the Ricoh IS450 family of scanners.  Should
11       also  work  with  the  IS420,  IS410, and IS430 scanners, but these are
12       untested.  Please contact the maintainer or the sane-devel mailing list
13       if you own such a scanner.
14
15       This  backend  is  alpha-quality.  It  may  have bugs and some scanners
16       haven't been tested at all. Be careful and pull the plug if the scanner
17       causes unusual noise.
18
19

DEVICE NAMES

21       This backend expects device names of the form:
22
23              special
24
25       Where  special is either the path-name for the special device that cor‐
26       responds to a SCSI scanner. The program sane-find-scanner(1)  helps  to
27       find  out  the correct device. Under Linux, such a device name could be
28       /dev/sg0 or /dev/sga, for example.  See sane-scsi(5) for details.
29
30

CONFIGURATION

32       The contents of the hs2p.conf file is a list of device names that  cor‐
33       respond  to  SCSI scanners.  Empty lines and lines starting with a hash
34       mark (#) are ignored.  See sane-scsi(5) on details of what  constitutes
35       a valid device name.
36
37

FILES

39       /etc/sane.d/hs2p.conf
40              The   backend   configuration  file  (see  also  description  of
41              SANE_CONFIG_DIR below).
42
43       /usr/lib64/sane/libsane-hs2p.a
44              The static library implementing this backend.
45
46       /usr/lib64/sane/libsane-hs2p.so
47              The shared library implementing this backend (present on systems
48              that support dynamic loading).
49

ENVIRONMENT

51       SANE_CONFIG_DIR
52              This environment variable specifies the list of directories that
53              may contain the configuration file.  Under UNIX, the directories
54              are  separated  by a colon (`:'), under OS/2, they are separated
55              by a semi-colon (`;').  If this variable is not set, the config‐
56              uration  file is searched in two default directories: first, the
57              current working directory (".") and then in /etc/sane.d.  If the
58              value  of the environment variable ends with the directory sepa‐
59              rator character, then the default directories are searched after
60              the  explicitly  specified  directories.   For  example, setting
61              SANE_CONFIG_DIR to "/tmp/config:" would  result  in  directories
62              tmp/config, ., and /etc/sane.d being searched (in this order).
63
64       SANE_DEBUG_HS2P
65              If  the  library  was  compiled with debug support enabled, this
66              environment variable controls the debug level for this  backend.
67              A  value  of 255 prints all debug output.  Smaller values reduce
68              verbosity.
69
70

CURRENT STATUS

72       The sane-hs2p backend is now  in  version  1.00.  All  major  scanning-
73       related features are supported, except for those features requiring the
74       optional IPU. Scanning from the  flatbed  or  ADF  (either  simplex  or
75       duplex) is supported. Lineart, halftone, 4-bit gray, and 8-bit gray are
76       supported. Pre-set gamma tables and halftone patterns are supported, as
77       well  as  brightness, threshold, contrast.  Also supported is scan wait
78       mode, binary and gray filtering, negative  scanning,  and  absolute  or
79       relative  white  setting.  Printing  with the optional endorser also is
80       supported.
81
82

PLANNED FUNCTIONALITY

84       This scanner can scan from the ADF in continuous  simplex  mode.   Sur‐
85       prisingly, many scanners scan an entire document from the ADF into mem‐
86       ory before ejecting the sheet. Thus if the document is  too  long,  the
87       scanner  cannot hold the entire image data in memory.  But if the scan‐
88       ner would send its image data when its memory got full, and  then  read
89       the next buffer's worth of data, continuous scanning could be achieved.
90
91

MISSING FUNCTIONALITY

93       The  SCSI  commands  for  uploading  (2AH)  or downloading (28H) custom
94       halftone patterns (02H)  and  gamma  vectors  (03H)  should  work,  but
95       require  implementing  the  SANE Option-Value code to allow the user to
96       create the tables to be uploaded to the scanner. No support for Mainte‐
97       nance  Data  (80H) is planned as this functionality is more suited to a
98       stand-alone utility to be used by a technician when replacing the  lamp
99       or  ADF  unit. Nor is support for reading or changing IPU (93H) parame‐
100       ters and adjustments planned, since my IS450 lacks  such  a  unit.  The
101       31-byte  Auto  Photo/Letter struct and 21-byte Dynamic threshold struct
102       are documented in the hs2p-scsi.h file should someone wish to use their
103       IPU for image data processing.
104
105

SEE ALSO

107       sane(7), sane-find-scanner(1), sane-scsi(5),
108
109

AUTHOR

111       jeremy <jeremy@acjlaw.net>
112       Maintained by Jeremy Johnson <jeremy@acjlaw.net>
113
114
115
116                                  13 Jul 2008                     sane-hs2p(5)
Impressum