2004-06-14 13:25:53 +08:00
|
|
|
<!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;
|
2005-02-16 12:09:14 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
|
|
|
<!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
2005-02-16 12:09:14 +08:00
|
|
|
<!ENTITY a2ps-md5sum "0c8e0c31b08c14f7a7198ce967eb3281">
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY a2ps-size "1.9 MB">
|
|
|
|
<!ENTITY a2ps-buildsize "19.2 MB">
|
2005-02-16 12:09:14 +08:00
|
|
|
<!ENTITY a2ps-time "0.26 SBU">
|
2004-06-14 13:25:53 +08:00
|
|
|
]>
|
|
|
|
|
2003-10-04 16:58:56 +08:00
|
|
|
<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="a2ps.html"?>
|
2003-10-04 16:58:56 +08:00
|
|
|
<title>a2ps-&a2ps-version;</title>
|
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>a2ps</application></title>
|
|
|
|
|
|
|
|
<para><application>a2ps</application> is a filter utilitized mainly in the
|
|
|
|
background and primarily by printing scripts to convert almost
|
|
|
|
every input format into PostScript output. The application's name expands
|
|
|
|
appropriately to "all to PostScript".</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
|
|
|
<listitem><para>Download (HTTP): <ulink
|
|
|
|
url="&a2ps-download-http;"/></para></listitem>
|
|
|
|
<listitem><para>Download (FTP): <ulink
|
|
|
|
url="&a2ps-download-ftp;"/></para></listitem>
|
2005-02-16 12:09:14 +08:00
|
|
|
<listitem><para>Download MD5 sum: &a2ps-md5sum;</para></listitem>
|
2004-06-14 13:25:53 +08:00
|
|
|
<listitem><para>Download size: &a2ps-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-14 13:25:53 +08:00
|
|
|
&a2ps-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&a2ps-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Additional downloads</title>
|
|
|
|
<itemizedlist spacing='compact'>
|
2005-02-16 12:09:14 +08:00
|
|
|
<listitem><para>International fonts: <ulink
|
|
|
|
url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/></para></listitem>
|
|
|
|
</itemizedlist>
|
2004-06-14 13:25:53 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title><application>a2ps</application> dependencies</title>
|
|
|
|
<sect4><title>Optional</title>
|
2004-09-01 14:30:18 +08:00
|
|
|
<para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
2005-02-16 12:09:14 +08:00
|
|
|
<xref linkend="psutils"/>,
|
|
|
|
<xref linkend="tex"/>,
|
2004-09-01 14:30:18 +08:00
|
|
|
<xref linkend="gs"/> or <xref linkend="espgs"/>,
|
|
|
|
<ulink
|
|
|
|
url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
|
|
|
|
<ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
|
|
|
|
Reader</ulink> and
|
|
|
|
<ulink
|
|
|
|
url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
|
|
|
|
</para>
|
|
|
|
</sect4>
|
2004-06-14 13:25:53 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>a2ps</application></title>
|
|
|
|
|
2004-09-01 14:30:18 +08:00
|
|
|
<para>Install <application>a2ps</application> by running the following
|
|
|
|
commands:</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
2004-09-01 14:30:18 +08:00
|
|
|
<screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &&
|
|
|
|
sed -i -e "s|/usr/local/share|/usr/share|" configure &&
|
2005-02-16 12:09:14 +08:00
|
|
|
sed -i -e "s|char \*malloc ();|/* & */|" \
|
2004-09-01 14:30:18 +08:00
|
|
|
lib/path-concat.c &&
|
2004-06-14 13:25:53 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc/a2ps --localstatedir=/var \
|
2004-09-01 14:30:18 +08:00
|
|
|
--enable-shared --with-medium=letter &&
|
2004-06-14 13:25:53 +08:00
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Command explanations</title>
|
|
|
|
|
2004-09-01 14:30:18 +08:00
|
|
|
<para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
|
|
|
|
This command eliminates the compiling and installing of the
|
|
|
|
<application>Emacs</application> script files. If you have substituted
|
2004-06-14 13:25:53 +08:00
|
|
|
<application>Emacs</application> for <application>Vi</application> as your
|
2004-09-01 14:30:18 +08:00
|
|
|
primary editor, skip this step.</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
2004-09-01 14:30:18 +08:00
|
|
|
<para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
|
2004-06-14 13:25:53 +08:00
|
|
|
This command modifies the configure script to search for
|
2004-09-01 14:30:18 +08:00
|
|
|
<application>Ghostscript</application> fonts at the location where they were
|
|
|
|
installed by the <acronym>BLFS</acronym> instructions.</para>
|
|
|
|
|
2005-02-16 12:09:14 +08:00
|
|
|
<para><command>sed -i -e "s|char \*malloc ();|/* & */|"
|
|
|
|
lib/path-concat.c</command>: This command fixes a build problem with
|
|
|
|
<application><acronym>GCC</acronym></application>-3.4.x</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
|
|
|
<para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
2005-02-16 12:09:14 +08:00
|
|
|
is installed in <filename class="directory">/etc/a2ps</filename> instead of
|
2004-06-14 13:25:53 +08:00
|
|
|
<filename class="directory">/usr/etc</filename>.</para>
|
|
|
|
|
2004-09-02 00:10:18 +08:00
|
|
|
<para><parameter>--enable-shared</parameter>: This switch enables building
|
|
|
|
the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
|
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<para><parameter>--with-medium=letter</parameter>: This switch changes
|
|
|
|
the default paper format of A4 to letter. Installations that utilize A4
|
|
|
|
would eliminate this switch.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Configuring <application>a2ps</application></title>
|
|
|
|
|
|
|
|
<sect3><title>Config files</title>
|
|
|
|
|
2004-09-01 14:30:18 +08:00
|
|
|
<para><filename>/etc/a2ps/a2ps.cfg</filename>,
|
|
|
|
<filename>/etc/a2ps/a2ps-site.cfg</filename></para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
<sect3><title>Configuration Information</title>
|
|
|
|
|
|
|
|
<para>Information about configuring <application>a2ps</application> can be
|
|
|
|
found in the comments contained in the above files, and also by
|
|
|
|
running <command>info a2ps</command>.</para>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<para>The <application>a2ps</application> package
|
2004-09-02 00:10:18 +08:00
|
|
|
contains <command>a2ps</command>, <command>card</command>,
|
|
|
|
<command>composeglyphs</command>, <command>fixnt</command>,
|
|
|
|
<command>fixps</command>, <command>ogonkify</command>,
|
|
|
|
<command>pdiff</command>, <command>psmandup</command>,
|
|
|
|
<command>psset</command>, <command>texi2dvi4a2ps</command>,
|
|
|
|
<filename class='libraryfile'>liba2ps</filename> libraries
|
|
|
|
and filter data.</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>a2ps</title>
|
|
|
|
<para><command>a2ps</command> is a filter, utilized primarily by
|
|
|
|
printing scripts, that converts standard input or supported files
|
2004-09-02 00:10:18 +08:00
|
|
|
to PostScript.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>card</title>
|
|
|
|
<para><command>card</command> prints a reference card of a given program's
|
|
|
|
options.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>composeglyphs</title>
|
|
|
|
<para><command>composeglyphs</command> creates a composite font
|
|
|
|
program.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>fixnt</title>
|
|
|
|
<para><command>fixnt</command> is supposed to fix the problems in
|
|
|
|
the PostScript files generated by the Microsoft PostScript driver under
|
|
|
|
Windows NT (3.5 and 4.0).</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>fixps</title>
|
|
|
|
<para><command>fixps</command> tries to fix common PostScript problems that
|
|
|
|
break postprocessing.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>ogonkify</title>
|
|
|
|
<para><command>ogonkify</command> provides international support for
|
|
|
|
Postscript by performing various munging of PostScript files
|
|
|
|
related to printing in different languages.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>pdiff</title>
|
|
|
|
<para><command>pdiff</command> produces a pretty comparison between
|
|
|
|
files.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>psmandup</title>
|
|
|
|
<para><command>psmandup</command> tries to produce a version of a given
|
|
|
|
PostScript file to print in manual duplex.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>psset</title>
|
|
|
|
<para><command>psset</command> produces a version of a given PostScript file
|
|
|
|
with a protected call to the PostScript operator 'setpagedevice'. Typical use
|
|
|
|
is making a file print duplex, or on the manual tray, etc.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>texi2dvi4a2ps</title>
|
|
|
|
<para><command>texi2dvi4a2ps</command> compiles Texinfo and LaTeX files to
|
|
|
|
<acronym>DVI</acronym> or <acronym>PDF</acronym></para></sect3>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
|
|
|
</sect2>
|
2003-10-04 16:58:56 +08:00
|
|
|
|
|
|
|
</sect1>
|