glfs/pst/printing/espgs.xml
Manuel Canales Esparcia cd8a01b8f3 Tagged gimp-print.xml
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4287 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-05-16 10:37:46 +00:00

236 lines
8.9 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/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 "ftp://ftp.gtlib.cc.gatech.edu/pub/slackware/slackware-current/source/ap/espgs/espgs-&espgs-version;-source.tar.bz2">
<!ENTITY espgs-md5sum "d30bf5c09f2c7caa8291f6305cf03044">
<!ENTITY espgs-size "5.3 MB">
<!ENTITY espgs-buildsize "128 MB (includes installing libgs.so and both font tarballs)">
<!ENTITY espgs-time "1.94 SBU (includes building and installing libgs.so)">
<!ENTITY espgs-standard-fonts-download "ftp://mirror.cs.wisc.edu/pub/mirrors/ghost/fonts/ghostscript-fonts-std-8.11.tar.gz">
<!ENTITY espgs-standard-fonts-md5sum "6865682b095f8c4500c54b285ff05ef6">
<!ENTITY espgs-standard-fonts-size "3.7 MB">
<!ENTITY espgs-other-fonts-download "http://ftp.gnu.org/pub/gnu/ghostscript/gnu-gs-fonts-other-6.0.tar.gz">
<!ENTITY espgs-other-fonts-md5sum "33457d3f37de7ef03d2eea05a9e6aa4f">
<!ENTITY espgs-other-fonts-size "796 KB">
]>
<sect1 id="espgs" xreflabel="ESP Ghostscript-&espgs-version;">
<?dbhtml filename="espgs.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>ESP Ghostscript-&espgs-version;</title>
<indexterm zone="espgs">
<primary sortas="a-ESP-Ghostscript">ESP Ghostscript</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to ESP Ghostscript</title>
<para><application>ESP Ghostscript</application> is a versatile processor
for PostScript data with the ability to render PostScript to different
targets. <application>ESP Ghostscript</application> is a customized
version of GNU Ghostscript that includes an enhanced configuration script,
the <application>CUPS</application> raster driver to support
<application>CUPS</application> raster printer drivers, and additional
patches and drivers from various Linux distributors.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<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 MD5 sum: &espgs-md5sum;</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>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<title>Standard Fonts</title>
<listitem>
<para>Download (FTP): <ulink url="&espgs-standard-fonts-download;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &espgs-standard-fonts-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &espgs-standard-fonts-size;</para>
</listitem>
</itemizedlist>
<itemizedlist spacing='compact'>
<title>Other Fonts</title>
<listitem>
<para>Download (HTTP): <ulink url="&espgs-other-fonts-download;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &espgs-other-fonts-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &espgs-other-fonts-size;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">ESP Ghostscript Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<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>
</sect2>
<sect2 role="installation">
<title>Installation of ESP Ghostscript</title>
<para>Install <application>ESP Ghostscript</application>
by running the following commands:</para>
<screen><userinput>./configure --prefix=/usr --without-gimp-print --without-omni &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
<para>To install the shared library
<filename class='libraryfile'>libgs.so</filename> you
will need <xref linkend="GTK"/>.</para>
<para>Proceed with the following commands:</para>
<screen><userinput>make CFLAGS_SO='-fPIC $(ACDEFS)' so</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make soinstall &amp;&amp;
install -v -d -m755 /usr/include/ps &amp;&amp;
install -v -m644 src/*.h /usr/include/ps</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> and ensure
the ownerships of the files are root:root. Substitute
<replaceable>[font-tarball]</replaceable> appropriately in
the command below for the fonts you wish to install:</para>
<screen role="root"><userinput>tar -zxvf ../<replaceable>[font-tarball]</replaceable> -C /usr/share/ghostscript &amp;&amp;
chown -v -R root:root /usr/share/ghostscript/fonts</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>--without-gimp-print</parameter>: This switch disables
the building of the <application>GIMP</application> print driver as a
<application>Ghostscript</application> device since this is deprecated.
This driver may be still accessible via IJS or
<application>CUPS</application>, and this is the preferred way.</para>
<para><parameter>--without-omni</parameter>: This switch disables the
omni driver support.</para>
<para><option>--without-ijs</option>: This switch disables the
IJS driver support.</para>
<para><command>install ...</command>: Some packages
(<application>ImageMagick</application> is one) need the
<application>Ghostscript</application> headers in place to link to the
shared library. These commands install the headers.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>bdftops, dvipdf, eps2eps, fixmswrd.pl, font2c, gs, gsbj, gsc, gsdj,
gsdj500, gslj, gslp, gsnd, gsx, lprsetup.sh, pdf2dsc, pdf2ps, pdfopt,
pf2afm, pfbtopfa, pj-gs.sh, printafm, ps2ascii, ps2epsi, ps2pdf,
ps2pdf12, ps2pdf13, ps2pdf14, ps2pdfwr, ps2ps, pv.sh, sysvlp.sh,
unix-lpr.sh, and wftopfa</seg>
<seg>libgs.so </seg>
<seg>/usr/include/ps and /usr/share/ghostscript</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="gs-prog-gs">
<term><command>gs</command></term>
<listitem>
<para>invokes <application>Ghostscript</application>, an interpreter
of Adobe Systems' PostScript(tm) and Portable Document Format
(PDF) languages.</para>
<indexterm zone="espgs gs-prog-gs">
<primary sortas="b-gs">gs</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="pstoraster">
<term><filename>pstoraster</filename></term>
<listitem>
<para>is a filter used by <application>CUPS</application> 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>
<indexterm zone="espgs pstoraster">
<primary sortas="g-pstoraster">pstoraster</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
<para><application>ESP Ghostscript</application> provides many different
scripts used to render PostScript/PDF files back and forth. Please refer
to the HTML documentation or try <command>man gs</command> for information
about the capabilities provided by the package.</para>
</sect2>
</sect1>