XML update for Chapter 42

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2319 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2004-06-14 04:02:27 +00:00
parent 73ddd1a0b2
commit 5d1668d790
5 changed files with 198 additions and 14 deletions

View File

@ -328,10 +328,11 @@
<!ENTITY gimp-print-version "4.2.6">
<!-- Chapter 42 -->
<!ENTITY sane-version "1.0.14">
<!ENTITY xsane-version "0.93">
<!-- Chapter 43 -->
<!ENTITY docbook-dsssl-version "1.78">
<!-- Chapter 44 -->
<!-- Chapter 45 -->

View File

@ -3,8 +3,9 @@
<title>Printing, Scanning and Typesetting</title>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/printing/printing.xml"/>
<!-- &pst-printing; -->
&pst-scanning;
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/scanning/scanning.xml"/>
<!-- &pst-scanning; -->
&pst-sgml;
&pst-xml;
&pst-ps;

View File

@ -1,10 +1,125 @@
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY sane-download-http "http://gd.tuwien.ac.at/api/sane/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-download-ftp "ftp://ftp.sane-project.org/pub/sane/sane-backends-&sane-version;/sane-backends-&sane-version;.tar.gz">
<!ENTITY sane-size "3.1 MB">
<!ENTITY sane-buildsize "42 MB">
<!ENTITY sane-time "1.77 SBU">
]>
<sect1 id="sane" xreflabel="SANE-&sane-version;">
<?dbhtml filename="sane.html"?>
<title>SANE-&sane-version;</title>
&sane-intro;
&sane-inst;
&sane-exp;
&sane-desc;
<sect2>
<title>Introduction to <application><acronym>SANE</acronym></application></title>
<para><acronym>SANE</acronym> is short for Scanner Access Now Easy.
Scanner access, however, is far from easy, since every vendor has their own
protocols. The only known protocol that should bring some unity into this
chaos is the TWAIN interface, but this is too imprecise to
allow a stable scanning framework. Therefore, <acronym>SANE</acronym> comes
with its own protocol, so the vendor drivers can't be used.</para>
<para><acronym>SANE</acronym> is split into back ends and front ends. The
back ends are drivers for the supported scanners. The front ends are user
interfaces to access the backends.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&sane-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&sane-download-ftp;"/></para></listitem>
<listitem><para>Download size: &sane-size;</para></listitem>
<listitem><para>Estimated Disk space required: &sane-buildsize;</para></listitem>
<listitem><para>Estimated build time: &sane-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title>Additional downloads</title>
<itemizedlist spacing='compact'>
<listitem><para>Front ends: <ulink
url="ftp://ftp.sane-project.org/pub/sane/sane-frontends-1.0.12/sane-frontends-1.0.12.tar.gz"/></para></listitem>
</itemizedlist>
</sect3>
<sect3><title><application><acronym>SANE</acronym></application> dependencies</title>
<sect4><title>Optional</title>
<para><xref linkend="libusb"/>,
<ulink url="http://cyberelk.net/tim/libieee1284/">libieee1284</ulink>,
<ulink url="http://www.gphoto.org/">gPhoto2</ulink>,
X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), <xref linkend="GTK2"/> and <xref
linkend="gimp"/></para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application><acronym>SANE</acronym></application></title>
<sect3><title>Preparing your system for scanner access</title>
<para>To access your scanner, you will probably need the related kernel
drivers. A <acronym>SCSI</acronym> scanner will need <acronym>SCSI</acronym>
drivers, a parallel port scanner needs parallel port support (you should use
enhanced <acronym>EPP</acronym> modes) and an <acronym>USB</acronym> scanner
will need the <acronym>USB</acronym> scanner module and a <acronym>SCSI
</acronym> system for emulation. Be sure that you have got the necessary
devices to access the drivers.</para>
</sect3>
<sect3><title>Installation of <application><acronym>SANE</acronym></application> backends</title>
<para>Install <application><acronym>SANE</acronym></application> backends by
running the following commands:</para>
<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect3>
<sect3><title>Installation of <application><acronym>SANE</acronym></application> front ends</title>
<para>To install <application><acronym>SANE</acronym></application> front ends, use the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect3>
</sect2>
<sect2>
<title>Installation command explanations</title>
<para><parameter>--sysconfdir=/etc</parameter>: This switch installs the
configuration files in <filename class="directory">/etc/sane.d</filename>
instead of <filename class="directory">/usr/etc/sane.d</filename>.</para>
</sect2>
<sect2>
<title>Contents</title>
<sect3><title>Back ends:</title>
<para>See <ulink url="http://www.sane-project.org/sane-supported-devices.html"/>
for a list of available backends.</para>
</sect3>
<sect3><title>Front ends:</title>
<para><command>scanimage</command>: Command line interface for
scanning.</para>
<para><command>xscanimage</command>: Graphical user interface for
scanning.</para>
<para><command>gimp-plugin</command>: xscanimage as
<application><acronym>GIMP</acronym></application> plugin.</para>
</sect3>
</sect2>
</sect1>

View File

@ -1,3 +1,9 @@
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
]>
<chapter id="pst-scanning">
<?dbhtml filename="scanning.html"?>
<title>Scanning</title>
@ -6,8 +12,7 @@
convert printed documents into formatted documents readable by other
applications.</para>
&sane;
&xsane;
<!-- &gocr; -->
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="sane.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="xsane.xml"/>
</chapter>

View File

@ -1,9 +1,71 @@
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY xsane-download-http "http://gd.tuwien.ac.at/hci/sane/xsane/xsane-&xsane-version;.tar.gz">
<!ENTITY xsane-download-ftp " ">
<!ENTITY xsane-size "2.5 MB">
<!ENTITY xsane-buildsize "17 MB">
<!ENTITY xsane-time "0.20 SBU">
]>
<sect1 id="xsane" xreflabel="XSane-&xsane-version;">
<?dbhtml filename="xsane.html"?>
<title>XSane-&xsane-version;</title>
&xsane-intro;
&xsane-inst;
&xsane-desc;
<sect2>
<title>Introduction to <application>XSane</application></title>
<para><application>XSane</application> is another front end for
<xref linkend="sane"/>. It has additional features to improve the image
quality and ease of use compared to <command>xscanimage</command>.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&xsane-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&xsane-download-ftp;"/></para></listitem>
<listitem><para>Download size: &xsane-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&xsane-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&xsane-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>XSane</application> dependencies</title>
<sect4><title>Required</title>
<para><xref linkend="sane"/> (back ends) and
<xref linkend="GTK2"/></para></sect4>
<sect4><title>Optional</title>
<para><xref linkend="libtiff"/>, <xref
linkend="libjpeg"/> and <xref linkend="gimp"/></para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>XSane</application></title>
<para>Install <application>XSane</application> by running the following
commands:</para>
<screen><userinput><command>./configure --prefix=/usr &amp;&amp;
make &amp;&amp;
make install</command></userinput></screen>
</sect2>
<sect2>
<title>Contents</title>
<para><application>XSane</application> comes with a graphical user interface,
and (if <xref linkend="gimp"/> is available) a
<application><acronym>GIMP</acronym></application>
plugin with advanced features. Please refer to the documentation for further
support.</para>
</sect2>
</sect1>