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 helps to find
27       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
63              order).
64
65       SANE_DEBUG_HS2P
66              If the library was compiled with  debug  support  enabled,  this
67              environment  variable controls the debug level for this backend.
68              A value of 255 prints all debug output.  Smaller  values  reduce
69              verbosity.
70
71

CURRENT STATUS

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

PLANNED FUNCTIONALITY

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

MISSING FUNCTIONALITY

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

SEE ALSO

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

AUTHOR

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