mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-23 22:42:14 +08:00
XML update for Chapter 41
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2318 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
d8a5def6e9
commit
73ddd1a0b2
11
general.ent
11
general.ent
@ -321,11 +321,16 @@
|
||||
|
||||
<!-- Part XIII -->
|
||||
<!-- Chapter 41 -->
|
||||
|
||||
|
||||
|
||||
<!ENTITY cups-version "1.1.20">
|
||||
<!ENTITY LPRng-version "3.8.26">
|
||||
<!ENTITY gs-version "8.14">
|
||||
<!ENTITY espgs-version "7.07.1">
|
||||
<!ENTITY gimp-print-version "4.2.6">
|
||||
|
||||
<!-- Chapter 42 -->
|
||||
|
||||
|
||||
|
||||
<!-- Chapter 43 -->
|
||||
<!ENTITY docbook-dsssl-version "1.78">
|
||||
<!-- Chapter 44 -->
|
||||
|
@ -1,11 +1,223 @@
|
||||
<!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 cups-download-http "http://multivac.cwru.edu/mirror/packages/cups-&cups-version;-source.tar.bz2">
|
||||
<!ENTITY cups-download-ftp "ftp://ftp.easysw.com/pub/cups/&cups-version;/cups-&cups-version;-source.tar.bz2">
|
||||
<!ENTITY cups-size "3.7 MB">
|
||||
<!ENTITY cups-buildsize "24 MB">
|
||||
<!ENTITY cups-time "0.67 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="cups" xreflabel="CUPS-&cups-version;">
|
||||
<?dbhtml filename="cups.html"?>
|
||||
<title>CUPS-&cups-version;</title>
|
||||
|
||||
&cups-intro;
|
||||
&cups-inst;
|
||||
&cups-exp;
|
||||
&cups-config;
|
||||
&cups-desc;
|
||||
<sect2>
|
||||
<title>Introduction to
|
||||
<application><acronym>CUPS</acronym></application></title>
|
||||
|
||||
<para>The Common Unix Printing System (<acronym>CUPS</acronym>) is a print spooler and
|
||||
associated utilities. It is based on the "Internet Printing Protocol"
|
||||
and provides printing services to most PostScript and
|
||||
raster printers.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&cups-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&cups-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &cups-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &cups-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &cups-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application><acronym>CUPS</acronym></application> dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para><xref linkend="libjpeg"/>, <xref linkend="libpng"/>,
|
||||
<xref linkend="libtiff"/>, <xref linkend="openssl"/> or
|
||||
<ulink url="http://www.gnu.org/software/gnutls/">GnuTLS</ulink> (which
|
||||
needs <ulink
|
||||
url="ftp://ftp.gnupg.org/gcrypt/alpha/libgpg-error/">libgpg-error</ulink>,
|
||||
<ulink url="ftp://ftp.gnupg.org/gcrypt/libgcrypt/">libgcrypt</ulink> and
|
||||
<ulink
|
||||
url="ftp://ftp.gnupg.org/gcrypt/alpha/gnutls/opencdk/">opencdk</ulink>,
|
||||
in that order.), <xref linkend="Linux_PAM"/>, <xref linkend="php"/> and <xref
|
||||
linkend="Python"/></para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of
|
||||
<application><acronym>CUPS</acronym></application></title>
|
||||
|
||||
<para>Install <application><acronym>CUPS</acronym></application> by
|
||||
running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para>The basic default behavior of the installation is appropriate for
|
||||
<acronym>LFS</acronym> systems. <application><acronym>CUPS</acronym>
|
||||
</application> files are placed in <filename
|
||||
class="directory">/usr/bin</filename>, <filename class="directory">/usr/sbin</filename>, <filename
|
||||
class="directory">/var</filename> and <filename class="directory">/etc/cups</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application><acronym>CUPS</acronym></application></title>
|
||||
|
||||
<para>Configuration of <application><acronym>CUPS</acronym></application> is
|
||||
dependent on the type of printer and can be complex. Generally, PostScript
|
||||
printers are easier. For detailed instructions on configuration and use of
|
||||
<application><acronym>CUPS</acronym></application>, see
|
||||
<ulink url="http://www.cups.org/documentation.php"/>. The Software
|
||||
Administrators Manual and Software Users Manual are particularly useful.</para>
|
||||
|
||||
<para>For non-PostScript printers to print with CUPS, you need to install
|
||||
<xref linkend="espgs"/> to convert PostScript to raster images
|
||||
and a driver (e.g., from <xref linkend="gimp-print"/>) to convert
|
||||
the resulting raster images to a form that the printer understands.
|
||||
<ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>
|
||||
drivers use Ghostscript to convert PostScript to a printable form directly, but this
|
||||
is considered to be a hack by <application><acronym>CUPS</acronym></application>
|
||||
developers.</para>
|
||||
|
||||
<para>During the install, <application><acronym>CUPS</acronym></application>
|
||||
created the startup file <filename>/etc/rc.d/init.d/cups</filename>. The file
|
||||
works, but you may want to change it to a more conventional <acronym>LFS
|
||||
</acronym> startup file by installing the script included in the
|
||||
<xref linkend="intro-important-bootscripts"/> package:</para>
|
||||
|
||||
<screen><userinput><command>make install-cups</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para><application><acronym>CUPS</acronym></application> provides
|
||||
<command>accept</command>,
|
||||
<command>cupsaddsmb</command>,
|
||||
<command>cupsd</command>,
|
||||
<command>cupstestppd</command>,
|
||||
<command>lpadmin</command>,
|
||||
<command>lpc</command>,
|
||||
<command>lpinfo</command>,
|
||||
<command>lpmove</command>,
|
||||
<command>reject</command>,
|
||||
<command>cancel</command>,
|
||||
<command>cups-config</command>,
|
||||
<command>disable</command>,
|
||||
<command>enable</command>,
|
||||
<command>lp</command>,
|
||||
<command>lpoptions</command>,
|
||||
<command>lppasswd</command>,
|
||||
<command>lpq</command>,
|
||||
<command>lpr</command>,
|
||||
<command>lprm</command>,
|
||||
<command>lpstat</command>,
|
||||
<filename class="libraryfile">libcups</filename>,
|
||||
<filename class="libraryfile">libcupsimage</filename> and various
|
||||
scripts and filters.</para>
|
||||
|
||||
<sect3><title>lpc</title>
|
||||
<para><command>lpc</command> provides limited control over printer
|
||||
and class queues provided by <application><acronym>CUPS</acronym>
|
||||
</application>.</para></sect3>
|
||||
|
||||
<sect3><title>cupsd</title>
|
||||
<para><command>cupsd</command> is the scheduler for the Common Unix Printing System.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>accept</title>
|
||||
<para><command>accept</command> instructs the printing system to accept print jobs to the specified destinations.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>reject</title>
|
||||
<para><command>reject</command> instructs the printing system to
|
||||
reject print jobs to the specified destinations.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>cupsaddsmb</title>
|
||||
<para><command>cupsaddsmb</command> exports printers to the SAMBA software for
|
||||
use with Windows clients.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpadmin</title>
|
||||
<para><command>lpadmin</command> configures printer and class queues provided by
|
||||
<acronym>CUPS</acronym>.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpinfo</title>
|
||||
<para><command>lpinfo</command> lists the available devices or drivers known to
|
||||
the <acronym>CUPS</acronym> server.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpmove</title>
|
||||
<para><command>lpmove</command> moves the specified job to a new destination.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>cupstestppd</title>
|
||||
<para><command>cupstestppd</command> tests the conformance of
|
||||
<filename>PPD</filename> files.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpq</title>
|
||||
<para><command>lpq</command> shows the current print queue status on the named printer.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpr</title>
|
||||
<para><command>lpr</command> submits files for printing.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lprm</title>
|
||||
<para><command>lprm</command> cancels print jobs that have been queued for printing.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>cancel</title>
|
||||
<para><command>cancel</command> cancels existing print jobs.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>disable</title>
|
||||
<para><command>disable</command> stops the named printers or classes.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>enable</title>
|
||||
<para><command>enable</command> starts the named printers or classes.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lp</title>
|
||||
<para><command>lp</command> submits files for printing or alters a pending job.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpoptions</title>
|
||||
<para><command>lpoptions</command> displays or sets printer options and defaults.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>lpstat</title>
|
||||
<para><command>lpstat</command> displays status information about the
|
||||
current classes, jobs, and printers.</para></sect3>
|
||||
|
||||
<sect3><title>lppasswd</title>
|
||||
<para><command>lppasswd</command> adds, changes or deletes passwords in
|
||||
the <application><acronym>CUPS</acronym></application> digest password file
|
||||
<filename>passwd.md5</filename>.
|
||||
</para></sect3>
|
||||
|
||||
<sect3><title>cups-config</title>
|
||||
<para><command>cups-config</command> is the <application><acronym>CUPS
|
||||
</acronym></application> program configuration utility.
|
||||
</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -1,10 +1,127 @@
|
||||
<!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 espgs-download-http "http://prdownloads.sourceforge.net/espgs/espgs-&espgs-version;-source.tar.bz2">
|
||||
<!ENTITY espgs-download-ftp " ">
|
||||
<!ENTITY espgs-size "5.3 MB">
|
||||
<!ENTITY espgs-buildsize "116-140 MB (depends on if libgs.so is installed)">
|
||||
<!ENTITY espgs-time "1.65-3.20 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
|
||||
<?dbhtml filename="espgs.html"?>
|
||||
<title>ESP Ghostscript-&espgs-version;</title>
|
||||
|
||||
&espgs-intro;
|
||||
&espgs-inst;
|
||||
&espgs-exp;
|
||||
&espgs-desc;
|
||||
<sect2>
|
||||
<title>Introduction to <application>Ghostscript</application></title>
|
||||
|
||||
<para><application>Ghostscript</application> is a versatile processor for
|
||||
PostScript data with the ability to render PostScript to different targets.
|
||||
ESP Ghostscript is a customized version of <acronym>GNU</acronym> Ghostscript
|
||||
that includes an enhanced configuration script, the <acronym>
|
||||
CUPS</acronym> raster driver to support <acronym>CUPS</acronym> raster printer
|
||||
drivers, and additional patches and drivers from
|
||||
various Linux distributors.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&espgs-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&espgs-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &espgs-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &espgs-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &espgs-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Standard fonts: <ulink
|
||||
url="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz"/>
|
||||
</para></listitem>
|
||||
<listitem><para>Other fonts: <ulink
|
||||
url="http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz"/>
|
||||
</para></listitem>
|
||||
<!-- Cyrillic fonts are now a part of ghostscript-fonts-std -->
|
||||
</itemizedlist></sect3>
|
||||
|
||||
<sect3><title><application>Ghostscript</application>
|
||||
dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para><xref linkend="cups"/>, <xref linkend="libjpeg"/>, <xref
|
||||
linkend="libpng"/>, X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>), <xref
|
||||
linkend="GLib"/>, <xref linkend="GTK"/> and
|
||||
<xref linkend="gimp-print"/>
|
||||
</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>Ghostscript</application></title>
|
||||
|
||||
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr --without-gimp-print --without-omni &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
<para>To install the shared library <filename>libgs.so</filename> you
|
||||
will need <xref linkend="GTK"/>.</para>
|
||||
|
||||
<para>Proceed with the following commands:</para>
|
||||
|
||||
<screen><userinput><command>make CFLAGS_SO='-fPIC $(ACDEFS)' so &&
|
||||
make soinstall</command></userinput></screen>
|
||||
|
||||
<note><para>The shared library is only used in external programs like
|
||||
<xref linkend="gsview"/>.</para></note>
|
||||
|
||||
<para>To finish the installation, unpack all fonts you've downloaded to
|
||||
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><option>--without-gimp-print</option>: This switch disables
|
||||
the building of the <application><acronym>GIMP</acronym></application> print driver
|
||||
as a Ghostscript device since this is deprecated.
|
||||
This driver may be still accessible via <acronym>IJS</acronym>
|
||||
or <application><acronym>CUPS</acronym></application>,
|
||||
and this is the preferred way.</para>
|
||||
<!-- This also fails with Gimp-Print-4.2.6-rc1 or later -->
|
||||
|
||||
<para><option>--without-ijs</option>: This switch disables the
|
||||
<acronym>IJS</acronym> driver support.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>Ghostscript comes with a lot of filters to render
|
||||
PostScript/<acronym>PDF</acronym> files back and forth. Please
|
||||
refer to the <acronym>HTML</acronym> documentation or try
|
||||
<command>man gs</command>. <acronym>ESP</acronym> Ghostscript provides
|
||||
pstoraster too.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
|
||||
<title>Description</title>
|
||||
|
||||
<sect3>
|
||||
<title>pstoraster</title>
|
||||
<para><acronym>CUPS</acronym> uses <command>pstoraster</command> filter to convert
|
||||
PostScript to a generic raster image format that is acceptable as an input to
|
||||
drivers for non-PostScript printers (e.g., from
|
||||
<xref linkend="gimp-print"/>).
|
||||
It is built and installed only if
|
||||
<xref linkend="cups"/> is found.</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -1,11 +1,114 @@
|
||||
<!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 gimp-print-download-http "http://prdownloads.sourceforge.net/gimp-print/gimp-print-&gimp-print-version;.tar.gz">
|
||||
<!ENTITY gimp-print-download-ftp " ">
|
||||
<!ENTITY gimp-print-size "4.9 MB">
|
||||
<!ENTITY gimp-print-buildsize "22 MB">
|
||||
<!ENTITY gimp-print-time "0.42 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="gimp-print" xreflabel="Gimp-Print-&gimp-print-version;">
|
||||
<?dbhtml filename="gimp-print.html"?>
|
||||
<title>Gimp-Print-&gimp-print-version;</title>
|
||||
|
||||
&gimp-print-intro;
|
||||
&gimp-print-inst;
|
||||
&gimp-print-exp;
|
||||
&gimp-print-config;
|
||||
&gimp-print-desc;
|
||||
<sect2>
|
||||
<title>Introduction to <application>Gimp-Print</application></title>
|
||||
|
||||
<para>The <application>Gimp-Print</application> package contains
|
||||
high quality drivers for Canon, Epson, Lexmark and <acronym>PCL</acronym> printers
|
||||
for use with <xref linkend="espgs"/>,
|
||||
<xref linkend="cups"/>,
|
||||
<ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
|
||||
and the <xref linkend="gimp"/>. See the list of supported printers at
|
||||
<ulink url="http://gimp-print.sourceforge.net/p_Supported_Printers.php3"/>.
|
||||
</para>
|
||||
<!-- FIXME: APFL Ghostscript is not tested. Don't forget to check the license. -->
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&gimp-print-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&gimp-print-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &gimp-print-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &gimp-print-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &gimp-print-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>Gimp-Print</application> dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para>
|
||||
<xref linkend="cups"/>,
|
||||
<ulink url="http://www.linuxprinting.org/foomatic.html">Foomatic</ulink>,
|
||||
<ulink url="http://www.linuxprinting.org/ijs/">IJS</ulink> and
|
||||
<xref linkend="readline"/>
|
||||
</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>Gimp-Print</application></title>
|
||||
|
||||
<para>Install <application>Gimp-Print</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para><option>--with-translated-ppds=no</option>: When this switch is given,
|
||||
only US English <acronym>PPD</acronym> files
|
||||
for <acronym>CUPS</acronym> will be built. Useful if the
|
||||
<acronym>PPD</acronym> files are not yet translated into your native
|
||||
language and you want to save some space on unneeded translations.</para>
|
||||
|
||||
<para><option>--enable-cups-level3-ps</option>: This option causes
|
||||
the build process to generate PostScript level 3 <acronym>PPD</acronym> files
|
||||
instead of level 2 ones.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>Gimp-Print</application></title>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<!-- &library-config; -->
|
||||
|
||||
<para>For <application><acronym>CUPS</acronym></application> to see newly installed
|
||||
<acronym>PPD</acronym> files, it has to be restarted:</para>
|
||||
|
||||
<screen><userinput><command>/etc/rc.d/init.d/cups restart</command></userinput></screen>
|
||||
|
||||
<note><para>This command may take a very long time (up to 10 minutes) to
|
||||
complete. Don't panic while
|
||||
<application><acronym>CUPS</acronym></application> is rescanning the
|
||||
list of <acronym>PPD</acronym> files. The long delay will happen only
|
||||
once.</para></note>
|
||||
|
||||
<para>Then point your web browser to <ulink url="http://127.0.0.1:631"/>
|
||||
to add a new printer to <application><acronym>CUPS</acronym></application>.</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application>Gimp-Print</application> package contains
|
||||
<filename>libgimpprint</filename> libraries,
|
||||
<command>rastertoprinter</command> filter for
|
||||
<application><acronym>CUPS</acronym></application> that converts
|
||||
the output of <command>pstoraster</command> to a form
|
||||
understandable by printers,
|
||||
and a plugin that allows printing images from
|
||||
<application><acronym>GIMP</acronym>-1.2.5</application>.</para>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -1,9 +1,93 @@
|
||||
<!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 gs-download-http "http://prdownloads.sourceforge.net/ghostscript/ghostscript-&gs-version;.tar.bz2">
|
||||
<!ENTITY gs-download-ftp "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/AFPL/gs814/ghostscript-&gs-version;.tar.bz2">
|
||||
<!ENTITY gs-size "5.5 MB">
|
||||
<!ENTITY gs-buildsize "37-49 MB (depends on if libgs.so is installed)">
|
||||
<!ENTITY gs-time "1.16-2.26 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="gs" xreflabel="AFPL Ghostscript-&gs-version;">
|
||||
<?dbhtml filename="gs.html"?>
|
||||
<title>AFPL Ghostscript-&gs-version;</title>
|
||||
|
||||
&gs-intro;
|
||||
&gs-inst;
|
||||
&gs-desc;
|
||||
<sect2>
|
||||
<title>Introduction to <application>Ghostscript</application></title>
|
||||
|
||||
<para><application>Ghostscript</application> is a versatile processor for
|
||||
PostScript data with the ability to render PostScript to different targets.
|
||||
</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&gs-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&gs-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &gs-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required: &gs-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &gs-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Standard fonts: <ulink
|
||||
url="ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz"/>
|
||||
</para></listitem>
|
||||
<listitem><para>Other fonts: <ulink
|
||||
url="http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz"/>
|
||||
</para></listitem>
|
||||
</itemizedlist></sect3>
|
||||
|
||||
<sect3><title><application>Ghostscript</application>
|
||||
dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para><xref linkend="libjpeg"/>, <xref linkend="libpng"/>, <xref
|
||||
linkend="GTK"/> and X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para></sect4>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Conflicts</title>
|
||||
<para>This version of Ghostscript does not work with
|
||||
<application><acronym>CUPS</acronym></application> due to missing
|
||||
generic "cups" raster image driver. The necessary support cannot be patched in
|
||||
due to incompatible licenses. Use <xref linkend="espgs"/> instead if you have
|
||||
<application><acronym>CUPS</acronym></application>.</para>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>Ghostscript</application></title>
|
||||
|
||||
<para>Install <application>Ghostscript</application> by running the following commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
<para>To install the shared library <filename>libgs.so</filename>, run
|
||||
the following commands additionally:</para>
|
||||
|
||||
<screen><userinput><command>make so &&
|
||||
make soinstall</command></userinput></screen>
|
||||
|
||||
<note><para>The shared library depends on <xref linkend="GTK"/>. It is
|
||||
only used in external programs like <xref linkend="gsview"/>.</para></note>
|
||||
|
||||
<para>To finish the installation, unpack all fonts you've downloaded to
|
||||
<filename class="directory">/usr/share/ghostscript</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para><application>Ghostscript</application> comes with a lot of filters to
|
||||
render PostScript/<acronym>PDF</acronym> files back and forth. Please refer to
|
||||
the <acronym>HTML</acronym> documentation or try <command>man gs</command>.
|
||||
</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -1,10 +1,150 @@
|
||||
<!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 LPRng-download-http "http://www.lprng.com/DISTRIB/LPRng/LPRng-&LPRng-version;.tgz">
|
||||
<!ENTITY LPRng-download-ftp "ftp://ftp.lprng.com/pub/LPRng/LPRng/LPRng-&LPRng-version;.tgz">
|
||||
<!ENTITY LPRng-size "11 MB">
|
||||
<!ENTITY LPRng-buildsize "54 MB">
|
||||
<!ENTITY LPRng-time "0.35 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="LPRng" xreflabel="LPRng-&LPRng-version;">
|
||||
<?dbhtml filename="LPRng.html"?>
|
||||
<title>LPRng-&LPRng-version;</title>
|
||||
|
||||
&LPRng-intro;
|
||||
&LPRng-inst;
|
||||
&LPRng-config;
|
||||
&LPRng-desc;
|
||||
<sect2>
|
||||
<title>Introduction to <application>LPRng</application></title>
|
||||
|
||||
<para>The <application>LPRng</application> package contains an enhanced,
|
||||
extended and portable implementation of the Berkeley Line PRinter
|
||||
(<acronym>LPR</acronym>) print spooler. This is useful for queuing print jobs.
|
||||
</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink
|
||||
url="&LPRng-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink
|
||||
url="&LPRng-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &LPRng-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required:
|
||||
&LPRng-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time:
|
||||
&LPRng-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application>LPRng</application> dependencies</title>
|
||||
<sect4><title>Optional</title>
|
||||
<para>
|
||||
<xref linkend="openssl"/>,
|
||||
<xref linkend="tcpwrappers"/> and
|
||||
<ulink url="http://www.pdc.kth.se/kth-krb/">krb4</ulink>
|
||||
</para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Installation of <application>LPRng</application></title>
|
||||
|
||||
<para>Install <application>LPRng</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput><command>./configure --prefix=/usr --libexecdir=/usr/sbin \
|
||||
--sysconfdir=/etc &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Configuring <application>LPRng</application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<para><filename>/etc/printcap</filename></para>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
|
||||
<para>There is no generic <filename>printcap</filename> for all
|
||||
printers. A sample printcap is loaded into the <filename
|
||||
class="directory">/etc</filename>
|
||||
directory which can be of some help. Information is also available at
|
||||
<ulink url="http://www.lprng.org"/> and <ulink
|
||||
url="http://www.linuxprinting.org"/>.</para>
|
||||
|
||||
<para>The init script installed by <application>LPRng</application> is not
|
||||
consistent with other <acronym>BLFS</acronym> scripts; therefore, install
|
||||
the <filename>/etc/rc.d/init.d/lprng</filename>
|
||||
init script included in the <xref linkend="intro-important-bootscripts"/> package.</para>
|
||||
|
||||
<screen><userinput><command>make install-lprng</command></userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The LPRng package contains
|
||||
<command>cancel</command>,
|
||||
<command>checkpc</command>,
|
||||
<command>lp</command>,
|
||||
<command>lpc</command>,
|
||||
<command>lpd</command>,
|
||||
<command>lpq</command>,
|
||||
<command>lpr</command>,
|
||||
<command>lprm</command>,
|
||||
<command>lprng_certs</command>,
|
||||
<command>lprng_index_certs</command>,
|
||||
<command>lpstat</command> and
|
||||
<filename class="libraryfile">liblpr</filename>.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>cancel</title>
|
||||
<para><command>cancel</command> sends cancel requests to an LPRng print
|
||||
service.</para></sect3>
|
||||
|
||||
<sect3><title>checkpc</title>
|
||||
<para><command>checkpc</command> checks out the printcap
|
||||
database.</para></sect3>
|
||||
|
||||
<sect3><title>lp</title>
|
||||
<para><command>lp</command> sends requests to an LPRng print service.</para></sect3>
|
||||
|
||||
<sect3><title>lpc</title>
|
||||
<para><command>lpc</command> is the control program for the daemon.</para></sect3>
|
||||
|
||||
<sect3><title>lpd</title>
|
||||
<para><command>lpd</command> is the daemon.</para></sect3>
|
||||
|
||||
<sect3><title>lpq</title>
|
||||
<para><command>lpq</command> is the status monitoring program.</para></sect3>
|
||||
|
||||
<sect3><title>lpr</title>
|
||||
<para><command>lpr</command> is the job spooler program.</para></sect3>
|
||||
|
||||
<sect3><title>lprm</title>
|
||||
<para><command>lprm</command> is the job removal program.</para></sect3>
|
||||
|
||||
<sect3><title>lprng_certs</title>
|
||||
<para><command>lprng_certs</command> is a program used to manage
|
||||
<acronym>SSL</acronym> certificates for the LPRng
|
||||
software.</para></sect3>
|
||||
|
||||
<sect3><title>lprng_index_certs</title>
|
||||
<para><command>lprng_index_certs</command> creates a set of index files
|
||||
in the LPRng signing certificate directory.</para></sect3>
|
||||
|
||||
<sect3><title>lpstat</title>
|
||||
<para><command>lpstat</command> is the job status program.</para></sect3>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
@ -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-printing">
|
||||
<?dbhtml filename="printing.html"?>
|
||||
<title>Printing</title>
|
||||
@ -6,10 +12,10 @@
|
||||
ghostscript applications to render PostScript for display on terminals
|
||||
or paper.</para>
|
||||
|
||||
∪︀
|
||||
&LPRng;
|
||||
&gs;
|
||||
&espgs;
|
||||
&gimp-print;
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="cups.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="lprng.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gs.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="espgs.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="gimp-print.xml"/>
|
||||
|
||||
</chapter>
|
||||
|
@ -2,7 +2,8 @@
|
||||
<?dbhtml filename="pst.html" dir="pst"?>
|
||||
<title>Printing, Scanning and Typesetting</title>
|
||||
|
||||
&pst-printing;
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pst/printing/printing.xml"/>
|
||||
<!-- &pst-printing; -->
|
||||
&pst-scanning;
|
||||
&pst-sgml;
|
||||
&pst-xml;
|
||||
|
Loading…
Reference in New Issue
Block a user