1 \documentclass[a4, landscape, semrot
]{seminar
}
9 \def\urlend#1{#1\endgroup}
10 \def\url{\begingroup \tt
11 \catcode`
\_=
13 % Don't know why this works.
12 \catcode`\~=
11 \catcode`\#=
11 \catcode`\^=
11
13 \catcode`\$=
11 \catcode`\&=
11 \catcode`\%=
11
14 \urlend}% \url for plain \TeX.
16 \newcommand{\heading}[1]{%
20 \vspace{1ex minus
1ex
}}
23 {UWA/CIIPS Seminar, Perth,
2000-
07-
27\hfill\thepage}%
24 {SANE: Scanner Access Now Easy
\hfill Petter Reinholdtsen
}
35 \includegraphics[height=
2cm
]{sane-logo-
2}
38 \heading{SANE: Scanner Access Now Easy - on Unix
}
41 Petter Reinholdtsen $<$pere@hungry.com$>$
45 SANE is an open source project to provide scanner support on Unix. It
46 supports more then
200 different scanners and works on almost all Unix
54 \heading{What is SANE
}
58 \item Open Source multi-platform project with developers all over the
61 \item Application programming interface (API) that provides
62 standardized access to any raster image scanner hardware (flatbed
63 scanner, hand-held scanner, video- and still-cameras,
64 frame-grabbers, etc.).
66 \item Network protocol to communicate with scanner servers --- hosts
67 with attached scanner hardware.
75 \heading{Why another scanner API
}
77 When the SANE project started, there were no common scanner API on
78 Unix. Some programs supported some scanners, but every program
79 maintained it's own drivers.
81 TWAIN existed only on Windows and Macintosh. The TWAIN API is not
82 usable, because GUI and scanner driver is one (i.e. platform
83 dependent) and it has no network support.
88 The MEMS Exchange Remote Microscope
\footnote{\url{http://www.mems-exchange.org/exchange/software/microscope/
}}}
92 \item automated and remotely controllable semiconductor inspection
95 \item lets MEMS designers view their wafers after critical processing
96 steps from any location having an Internet connection.
100 \subsubsection*
{Components
}
104 \item an optical microscope (currently a Leica INM200 or
107 \item a server which controls the microscope
109 \item a JavaTM applet or servlet that constructs the client interface.
114 \heading{A three layered architecture
}
116 \includegraphics[height=
4cm
]{architecture
}
120 \item Frontend is backend and platforms independent
122 \item Backends are platform independent
124 \item The sane internal (sanei) API hides all platform dependent code
125 (SCSI, parport, serial, network and config file API) from the
132 \heading{Setting up SANE
}
133 \subsection*
{Fetch and compile
}
135 Download latest distribution from
\url{http://www.mostang.com/sane/
},
136 current stable version is
1.0.2.
139 {\tt tar zxvf sane-<version>.tar.gz
}
142 {\tt ./configure <--prefix=
[/usr/local
]>\\
145 When successful,
{\tt scanimage
},
{\tt xscanimage
},
{\tt xcam
},
{\tt
146 sane-config
} should be available in /usr/local/bin;.
148 {\tt xscanimage
} require the Gtk library and might be missing.
152 \subsection*
{Configuration
}
154 The SANE config files hide in
{\tt <prefix>/etc/sane.d/
}.
159 \item {\tt dll.conf
} \\
160 List of backends to load. Comment out the unused ones to
161 reduce startup time. ('man sane-dll' for details)
162 \item {\tt $<$backend$>$.conf
} \\
163 Backend-dependent configuration, normally path to scanner device.
164 \item Test with
{\tt scanimage -L
} and
{\tt scanimage -T
}
165 \item If nothing works, try to set environment
166 {\tt SANE
\_DEBUG\_DLL=
128} to get debug information.
169 \item network scanner
171 \item {\tt /etc/inetd.conf
} and
{\tt /etc/services
} (server side)
172 to start saned. ('man saned' for details)
173 \item {\tt saned.conf
} (server side)\\
174 List of hosts allowed to access scanner. Insert '+' to allow
175 everyone and leave access control to tcp
\_wrapper.
176 \item {\tt net.conf
} (client side)\\
177 List of scanner server hosts to contact.
186 I'm aware of the following applications with SANE support.
189 \item {\tt scanimage
} for batch scanning
190 \item {\tt xscanimage
} /
{\tt xsane
} for GUI. (also as GIMP plugins)
191 \item WWW frontend (SANEcgi)
192 \item Pyton and Tcl/Tk client
193 \item NextStep client (NSane)
195 \item OS/
2 client (ScanIt/
2)
196 \item winsane / xsane for Windows
199 {\tt xsane
} is the best client for Unix/X11 at the moment.
203 \heading{Supported scanners and platforms
}
205 \item 35 backends and $>
200$ different models
206 \item Mostly SCSI, some parallel port and some USB scanners
208 \item Works on Unix (Linux, *BSD, HP/UX, OpenSTEP, DEC Unix, SCO *,
209 Irix, Solaris, AUX, DomainOS), OS/
2, BeOS and sometimes even on
218 \includegraphics[height=
5cm
]{sane-logo-
2}
220 \url{http://www.mostang.com/sane/
}