source: pst/scanning/sane.xml@ f1283d3f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f1283d3f was f1283d3f, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Typo fix. Pst.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5384 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 15.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY sane-be-download-http "http://alioth.debian.org/download.php/1079/sane-backends-&sane-version;.tar.gz">
8 <!ENTITY sane-be-download-ftp "ftp://ftp.sane-project.org/pub/sane/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
9 <!ENTITY sane-be-md5sum "bec9b9262246316b4ebfe2bc7451aa28">
10 <!ENTITY sane-be-size "3.4 MB">
11 <!ENTITY sane-be-buildsize "56 MB">
12 <!ENTITY sane-be-time "1.3 SBU">
13
14 <!ENTITY sane-fe-version "1.0.13">
15 <!ENTITY sane-fe-download-http "http://alioth.debian.org/download.php/791/sane-frontends-&sane-fe-version;.tar.gz">
16 <!ENTITY sane-fe-download-ftp "ftp://ftp.sane-project.org/pub/sane/sane-frontends-&sane-fe-version;/sane-frontends-&sane-fe-version;.tar.gz">
17 <!ENTITY sane-fe-md5sum "2930626e627df49b45192a722cedc8a6">
18 <!ENTITY sane-fe-size "210 KB">
19 <!ENTITY sane-fe-buildsize "2.7 MB">
20 <!ENTITY sane-fe-time "0.1 SBU">
21]>
22
23<sect1 id="sane" xreflabel="SANE-&sane-version;">
24 <?dbhtml filename="sane.html"?>
25
26 <sect1info>
27 <othername>$LastChangedBy$</othername>
28 <date>$Date$</date>
29 <keywordset>
30 <keyword role="package">sane-backends-&sane-version;.tar</keyword>
31 <keyword role="ftpdir">sane-backends</keyword>
32 </keywordset>
33 </sect1info>
34
35 <title>SANE-&sane-version;</title>
36
37 <indexterm zone="sane">
38 <primary sortas="a-SANE">SANE</primary>
39 </indexterm>
40
41 <sect2 role="package">
42 <title>Introduction to SANE</title>
43
44 <para><application>SANE</application> is short for Scanner Access Now Easy.
45 Scanner access, however, is far from easy, since every vendor has their own
46 protocols. The only known protocol that should bring some unity into this
47 chaos is the TWAIN interface, but this is too imprecise to allow a stable
48 scanning framework. Therefore, SANE comes with its own protocol, and the
49 vendor drivers can't be used.</para>
50
51 <para>SANE is split into back ends and front ends. The back ends are drivers
52 for the supported scanners and cameras. The front ends are user interfaces
53 to access the backends.</para>
54
55 <bridgehead renderas="sect3">Back Ends Package Information</bridgehead>
56 <itemizedlist spacing='compact'>
57 <listitem>
58 <para>Download (HTTP): <ulink url="&sane-be-download-http;"/></para>
59 </listitem>
60 <listitem>
61 <para>Download (FTP): <ulink url="&sane-be-download-ftp;"/></para>
62 </listitem>
63 <listitem>
64 <para>Download MD5 sum: &sane-be-md5sum;</para>
65 </listitem>
66 <listitem>
67 <para>Download size: &sane-be-size;</para>
68 </listitem>
69 <listitem>
70 <para>Estimated disk space required: &sane-be-buildsize;</para>
71 </listitem>
72 <listitem>
73 <para>Estimated build time: &sane-be-time;</para>
74 </listitem>
75 </itemizedlist>
76
77 <bridgehead renderas="sect3">Front Ends Package Information</bridgehead>
78 <itemizedlist spacing='compact'>
79 <listitem>
80 <para>Download (HTTP): <ulink url="&sane-fe-download-http;"/></para>
81 </listitem>
82 <listitem>
83 <para>Download (FTP): <ulink url="&sane-fe-download-ftp;"/></para>
84 </listitem>
85 <listitem>
86 <para>Downlaod MD5 sum: &sane-fe-md5sum;</para>
87 </listitem>
88 <listitem>
89 <para>Download size: &sane-fe-size;</para>
90 </listitem>
91 <listitem>
92 <para>Estimated disk space required: &sane-fe-buildsize;</para>
93 </listitem>
94 <listitem>
95 <para>Estimated build time: &sane-fe-time;</para>
96 </listitem>
97 </itemizedlist>
98
99 <bridgehead renderas="sect3">SANE Dependencies</bridgehead>
100
101 <bridgehead renderas="sect4">Optional (Back Ends)</bridgehead>
102 <para role="optional"><xref linkend="libjpeg"/>,
103 <xref linkend="libusb"/>,
104 <ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>,
105 <ulink url="http://www.gphoto.org/">gPhoto2</ulink>
106 (requires <ulink url="http://www.gphoto.org/">libgphoto2</ulink>) and
107 <xref linkend="tex"/></para>
108
109 <bridgehead renderas="sect4">Optional (Front Ends)</bridgehead>
110 <para role="optional">X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
111 <xref linkend="gtk2"/> and
112 <xref linkend="gimp"/></para>
113
114 </sect2>
115
116 <sect2 role="kernel" id='sane-kernel'>
117 <title>Kernel Configuration</title>
118
119 <indexterm zone="sane sane-kernel">
120 <primary sortas="d-Scanning-devices">Scanning devices</primary>
121 </indexterm>
122
123 <para>To access your scanner, you will probably need the related kernel
124 drivers or additional support packages (<xref linkend="libusb"/>).
125 A SCSI scanner will need SCSI drivers, a parallel port scanner needs
126 parallel port support (you should use enhanced EPP modes) and a USB
127 scanner will need the <application>libusb</application> package. Ensure
128 you have got the necessary drivers properly configured to access the
129 devices.</para>
130
131 </sect2>
132
133 <sect2 role="installation">
134 <title>Installation of SANE</title>
135
136 <sect3>
137 <title>Installation of SANE Back Ends</title>
138
139 <para>Install <application>SANE</application>-backends by
140 running the following commands:</para>
141
142<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
143make</userinput></screen>
144
145 <para>This package does not come with a test suite.</para>
146
147 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
148
149<screen role="root"><userinput>make install</userinput></screen>
150
151 </sect3>
152
153 <sect3>
154 <title>Installation of SANE Front Ends</title>
155
156 <para>The <application>SANE</application>-frontends package
157 includes the graphical frontends <command>xscanimage</command> and
158 <command>xcam</command>, and a command-line frontend
159 <command>scanadf</command>. You don't need this package if you intend
160 to use one of the more advanced graphical frontends like
161 <xref linkend="xsane"/>. For a list of frontend packages, see
162 <ulink url="http://www.sane-project.org/sane-frontends.html"/>.</para>
163
164 <para>To install <application>SANE</application>-frontends,
165 use the following commands:</para>
166
167<screen><userinput>./configure --prefix=/usr &amp;&amp;
168make</userinput></screen>
169
170 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
171
172<screen role="root"><userinput>make install</userinput></screen>
173
174 <para>If <application>GIMP</application> was linked into the build
175 and you wish <application>GIMP</application> to use
176 <command>xscanimage</command> as a scanning plugin, issue the following
177 command as the <systemitem class="username">root</systemitem> user:</para>
178
179<screen role="root"><userinput>ln -v -s /usr/bin/xscanimage /usr/lib/gimp/2.0/plug-ins</userinput></screen>
180
181 </sect3>
182
183 </sect2>
184
185 <sect2 role="commands">
186 <title>Command Explanations</title>
187
188 <para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
189 configuration files in <filename class="directory">/etc/sane.d</filename>
190 instead of <filename class="directory">/usr/etc/sane.d</filename>.</para>
191
192 </sect2>
193
194 <sect2 role="configuration">
195 <title>Configuring SANE</title>
196
197 <sect3 id="sane-config">
198 <title>Config Files</title>
199
200 <para><filename>/etc/sane.d/*.conf</filename></para>
201
202 <indexterm zone="sane sane-config">
203 <primary sortas="e-etc-sane.d-conf">/etc/sane.d/*.conf</primary>
204 </indexterm>
205
206 </sect3>
207
208 <sect3>
209 <title>Configuration Information</title>
210
211 <sect4>
212 <title>Backend Configuration</title>
213
214 <para>The backend configuration files are located in
215 <filename class='directory'>/etc/sane.d</filename>. Information
216 for configuring the various backends can be found by using the man(5)
217 page for the desired backend. Run
218 <command>man sane-<replaceable>[backend]</replaceable></command>,
219 substituting the desired backend.</para>
220
221 </sect4>
222
223 <sect4>
224 <title>General Information</title>
225
226 <para>For general information about configuring and using
227 <application>SANE</application>, see <command>man sane</command>.
228 Linux-2.6.x brings some special issues into the picture. See
229 <ulink url="http://www.sane-project.org/README.linux"/> for
230 information about using <application>SANE</application> with the
231 Linux-2.6.x kernel. For information about USB scanning devices,
232 run <command>man sane-usb</command>. For information about SCSI
233 devices, run <command>man sane-scsi</command>.</para>
234
235 </sect4>
236
237 <sect4>
238 <title>Configuration and setup of the 'saned' daemon</title>
239
240 <para>The <command>saned</command> daemon is not meant to be used for
241 untrusted clients. You should provide <xref linkend="tcpwrappers"/>
242 and/or <xref linkend="fw-firewall"/> protection to insure only trusted
243 clients access the daemon. Due to the complex security requirements to
244 insure only trusted clients access the daemon, BLFS does not provide
245 instructions to configure the <command>saned</command> daemon. If you
246 desire to make the daemon available, ensure you provide adequate
247 security, configure your <filename>[x]inetd.conf</filename> file and
248 send a <userinput>SIGHUP</userinput> to the [x]inetd daemon. Some good
249 information for setting up and securing the <command>saned</command>
250 daemon can be found at
251 <ulink url="http://penguin-breeder.org/sane/saned/"/>.</para>
252
253 </sect4>
254
255 </sect3>
256
257 </sect2>
258
259 <sect2 role="content">
260 <title>Contents</title>
261
262 <bridgehead renderas="sect4">Back Ends:</bridgehead>
263 <segmentedlist>
264 <segtitle>Installed Programs</segtitle>
265 <segtitle>Installed Libraries</segtitle>
266 <segtitle>Installed Directories</segtitle>
267
268 <seglistitem>
269 <seg>gamma4scanimage, sane-config, saned, sane-find-scanner,
270 and scanimage</seg>
271 <seg>libsane.so and numerous scanner backend modules</seg>
272 <seg>/etc/sane.d, /usr/include/sane, /usr/lib/sane, /usr/share/sane, and
273 /usr/share/doc/sane-&sane-version;</seg>
274 </seglistitem>
275 </segmentedlist>
276
277 <bridgehead renderas="sect4">Front Ends:</bridgehead>
278 <segmentedlist>
279 <segtitle>Installed Programs</segtitle>
280 <segtitle>Installed Library</segtitle>
281 <segtitle>Installed Directory</segtitle>
282
283 <seglistitem>
284 <seg>scanadf, xcam, and xscanimage</seg>
285 <seg><application>GIMP</application> plugin embedded in
286 <command>xscanimage</command></seg>
287 <seg>/usr/share/sane</seg>
288 </seglistitem>
289 </segmentedlist>
290
291 <variablelist>
292 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
293 <?dbfo list-presentation="list"?>
294 <?dbhtml list-presentation="table"?>
295
296 <varlistentry id="gamma4scanimage">
297 <term><command>gamma4scanimage</command></term>
298 <listitem>
299 <para>creates a gamma table in the format expected by
300 <command>scanimage</command>.</para>
301 <indexterm zone="sane gamma4scanimage">
302 <primary sortas="b-gamma4scanimage">gamma4scanimage</primary>
303 </indexterm>
304 </listitem>
305 </varlistentry>
306
307 <varlistentry id="sane-config-prog">
308 <term><command>sane-config</command></term>
309 <listitem>
310 <para>is a tool used to determine the compiler and linker
311 flags that should be used to compile and link
312 <application>SANE</application>.</para>
313 <indexterm zone="sane sane-config-prog">
314 <primary sortas="b-sane-config">sane-config</primary>
315 </indexterm>
316 </listitem>
317 </varlistentry>
318
319 <varlistentry id="saned">
320 <term><command>saned</command></term>
321 <listitem>
322 <para>is the <application>SANE</application> daemon that
323 allows remote clients to access image acquisition devices
324 available on the local host.</para>
325 <indexterm zone="sane saned">
326 <primary sortas="b-saned">saned</primary>
327 </indexterm>
328 </listitem>
329 </varlistentry>
330
331 <varlistentry id="sane-find-scanner">
332 <term><command>sane-find-scanner</command></term>
333 <listitem>
334 <para>is a command-line tool to find SCSI and
335 USB scanners and determine their device files. Its primary
336 aim is to make sure that scanners can be detected by
337 <application>SANE</application> backends.</para>
338 <indexterm zone="sane sane-find-scanner">
339 <primary sortas="b-sane-find-scanner">sane-find-scanner</primary>
340 </indexterm>
341 </listitem>
342 </varlistentry>
343
344 <varlistentry id="scanadf">
345 <term><command>scanadf</command></term>
346 <listitem>
347 <para>is a command-line interface to control image acquisition
348 devices which are equipped with an automatic document feeder
349 (ADF).</para>
350 <indexterm zone="sane scanadf">
351 <primary sortas="b-scanadf">scanadf</primary>
352 </indexterm>
353 </listitem>
354 </varlistentry>
355
356 <varlistentry id="scanimage">
357 <term><command>scanimage</command></term>
358 <listitem>
359 <para>is a command line interface for scanning from image acquisition
360 devices such as flatbed scanners or cameras. It is also used to list
361 the available backend devices.</para>
362 <indexterm zone="sane scanimage">
363 <primary sortas="b-scanimage">scanimage</primary>
364 </indexterm>
365 </listitem>
366 </varlistentry>
367
368 <varlistentry id="xcam">
369 <term><command>xcam</command></term>
370 <listitem>
371 <para>is a graphical camera front end for
372 <application>SANE</application>.</para>
373 <indexterm zone="sane xcam">
374 <primary sortas="b-xcam">xcam</primary>
375 </indexterm>
376 </listitem>
377 </varlistentry>
378
379 <varlistentry id="xscanimage">
380 <term><command>xscanimage</command></term>
381 <listitem>
382 <para>is a graphical user interface for scanning.</para>
383 <indexterm zone="sane xscanimage">
384 <primary sortas="b-xscanimage">xscanimage</primary>
385 </indexterm>
386 </listitem>
387 </varlistentry>
388
389 <varlistentry id="libsane">
390 <term><filename class='libraryfile'>libsane.so</filename></term>
391 <listitem>
392 <para>is the application programming interface that is used to
393 communicate between frontends and backends.</para>
394 <indexterm zone="sane libsane">
395 <primary sortas="c-libsane">libsane.so</primary>
396 </indexterm>
397 </listitem>
398 </varlistentry>
399
400 <varlistentry id="libsane-module">
401 <term><filename class='libraryfile'>libsane-*.so</filename></term>
402 <listitem>
403 <para>modules are backend scanning library plugins used to interface
404 with scanning devices. See
405 <ulink url="http://www.sane-project.org/sane-supported-devices.html"/>
406 for a list of supported backends.</para>
407 <indexterm zone="sane libsane-module">
408 <primary sortas="c-libsane-module">libsane-*.so</primary>
409 </indexterm>
410 </listitem>
411 </varlistentry>
412
413 </variablelist>
414
415 </sect2>
416
417</sect1>
Note: See TracBrowser for help on using the repository browser.