[959f944] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
| 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
| 5 |
|
---|
| 6 | <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
---|
| 7 | <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
|
---|
| 8 | <!ENTITY a2ps-size "1.9 MB">
|
---|
| 9 | <!ENTITY a2ps-buildsize "19.2 MB">
|
---|
| 10 | <!ENTITY a2ps-time "0.26 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[5fd03d2] | 13 | <sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="a2ps.html"?>
|
---|
[5fd03d2] | 19 | <title>a2ps-&a2ps-version;</title>
|
---|
| 20 |
|
---|
[959f944] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>a2ps</application></title>
|
---|
| 23 |
|
---|
| 24 | <para><application>a2ps</application> is a filter utilitized mainly in the
|
---|
| 25 | background and primarily by printing scripts to convert almost
|
---|
| 26 | every input format into PostScript output. The application's name expands
|
---|
| 27 | appropriately to "all to PostScript".</para>
|
---|
| 28 |
|
---|
| 29 | <sect3><title>Package information</title>
|
---|
| 30 | <itemizedlist spacing='compact'>
|
---|
| 31 | <listitem><para>Download (HTTP): <ulink
|
---|
| 32 | url="&a2ps-download-http;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download (FTP): <ulink
|
---|
| 34 | url="&a2ps-download-ftp;"/></para></listitem>
|
---|
| 35 | <listitem><para>Download size: &a2ps-size;</para></listitem>
|
---|
[518538f] | 36 | <listitem><para>Estimated disk space required:
|
---|
[959f944] | 37 | &a2ps-buildsize;</para></listitem>
|
---|
| 38 | <listitem><para>Estimated build time:
|
---|
| 39 | &a2ps-time;</para></listitem></itemizedlist>
|
---|
| 40 | </sect3>
|
---|
| 41 |
|
---|
| 42 | <sect3><title>Additional downloads</title>
|
---|
| 43 | <itemizedlist spacing='compact'>
|
---|
| 44 | <listitem><para>International fonts: <ulink
|
---|
| 45 | url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
|
---|
| 46 | </para></listitem></itemizedlist>
|
---|
| 47 | </sect3>
|
---|
| 48 |
|
---|
| 49 | <sect3><title><application>a2ps</application> dependencies</title>
|
---|
| 50 | <sect4><title>Optional</title>
|
---|
[1eee454] | 51 | <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
|
---|
[03d51788] | 52 | <xref linkend="psutils"/>, <xref linkend="tex"/>,
|
---|
[1eee454] | 53 | <xref linkend="gs"/> or <xref linkend="espgs"/>,
|
---|
| 54 | <ulink
|
---|
| 55 | url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
|
---|
| 56 | <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
|
---|
| 57 | Reader</ulink> and
|
---|
| 58 | <ulink
|
---|
| 59 | url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink>
|
---|
| 60 | </para>
|
---|
| 61 | </sect4>
|
---|
[959f944] | 62 | </sect3>
|
---|
| 63 |
|
---|
| 64 | </sect2>
|
---|
| 65 |
|
---|
| 66 | <sect2>
|
---|
| 67 | <title>Installation of <application>a2ps</application></title>
|
---|
| 68 |
|
---|
[1eee454] | 69 | <para>Install <application>a2ps</application> by running the following
|
---|
| 70 | commands:</para>
|
---|
[959f944] | 71 |
|
---|
[1eee454] | 72 | <screen><userinput><command>sed -i -e "s|emacs||" contrib/Makefile.in &&
|
---|
| 73 | sed -i -e "s|/usr/local/share|/usr/share|" configure &&
|
---|
| 74 | sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
|
---|
| 75 | lib/path-concat.c &&
|
---|
[959f944] | 76 | ./configure --prefix=/usr \
|
---|
| 77 | --sysconfdir=/etc/a2ps --localstatedir=/var \
|
---|
[1eee454] | 78 | --enable-shared --with-medium=letter &&
|
---|
[959f944] | 79 | make &&
|
---|
| 80 | make install</command></userinput></screen>
|
---|
| 81 |
|
---|
| 82 | </sect2>
|
---|
| 83 |
|
---|
| 84 | <sect2>
|
---|
| 85 | <title>Command explanations</title>
|
---|
| 86 |
|
---|
[1eee454] | 87 | <para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
|
---|
| 88 | This command eliminates the compiling and installing of the
|
---|
| 89 | <application>Emacs</application> script files. If you have substituted
|
---|
[959f944] | 90 | <application>Emacs</application> for <application>Vi</application> as your
|
---|
[1eee454] | 91 | primary editor, skip this step.</para>
|
---|
[959f944] | 92 |
|
---|
[1eee454] | 93 | <para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
|
---|
[959f944] | 94 | This command modifies the configure script to search for
|
---|
[1eee454] | 95 | <application>Ghostscript</application> fonts at the location where they were
|
---|
| 96 | installed by the <acronym>BLFS</acronym> instructions.</para>
|
---|
| 97 |
|
---|
| 98 | <para><command>sed -i -e "s|char \*malloc ();|/* char *malloc (); */|" \
|
---|
| 99 | lib/path-concat.c</command>: This command fixes a build problem with
|
---|
| 100 | <acronym>LFS</acronym> >5.1.</para>
|
---|
[959f944] | 101 |
|
---|
| 102 | <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
---|
| 103 | goes to <filename class="directory">/etc/a2ps</filename> instead of
|
---|
| 104 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
| 105 |
|
---|
[95426ad] | 106 | <para><parameter>--enable-shared</parameter>: This switch enables building
|
---|
| 107 | the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
|
---|
| 108 |
|
---|
[959f944] | 109 | <para><parameter>--with-medium=letter</parameter>: This switch changes
|
---|
| 110 | the default paper format of A4 to letter. Installations that utilize A4
|
---|
| 111 | would eliminate this switch.</para>
|
---|
| 112 |
|
---|
| 113 | </sect2>
|
---|
| 114 |
|
---|
| 115 | <sect2>
|
---|
| 116 | <title>Configuring <application>a2ps</application></title>
|
---|
| 117 |
|
---|
| 118 | <sect3><title>Config files</title>
|
---|
| 119 |
|
---|
[1eee454] | 120 | <para><filename>/etc/a2ps/a2ps.cfg</filename>,
|
---|
| 121 | <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
|
---|
[959f944] | 122 |
|
---|
| 123 | </sect3>
|
---|
| 124 |
|
---|
| 125 | <sect3><title>Configuration Information</title>
|
---|
| 126 |
|
---|
| 127 | <para>Information about configuring <application>a2ps</application> can be
|
---|
| 128 | found in the comments contained in the above files, and also by
|
---|
| 129 | running <command>info a2ps</command>.</para>
|
---|
| 130 | </sect3>
|
---|
| 131 |
|
---|
| 132 | </sect2>
|
---|
| 133 |
|
---|
| 134 | <sect2>
|
---|
| 135 | <title>Contents</title>
|
---|
| 136 |
|
---|
| 137 | <para>The <application>a2ps</application> package
|
---|
[95426ad] | 138 | contains <command>a2ps</command>, <command>card</command>,
|
---|
| 139 | <command>composeglyphs</command>, <command>fixnt</command>,
|
---|
| 140 | <command>fixps</command>, <command>ogonkify</command>,
|
---|
| 141 | <command>pdiff</command>, <command>psmandup</command>,
|
---|
| 142 | <command>psset</command>, <command>texi2dvi4a2ps</command>,
|
---|
| 143 | <filename class='libraryfile'>liba2ps</filename> libraries
|
---|
| 144 | and filter data.</para>
|
---|
[959f944] | 145 | </sect2>
|
---|
| 146 |
|
---|
| 147 | <sect2><title>Description</title>
|
---|
| 148 |
|
---|
| 149 | <sect3><title>a2ps</title>
|
---|
| 150 | <para><command>a2ps</command> is a filter, utilized primarily by
|
---|
| 151 | printing scripts, that converts standard input or supported files
|
---|
[95426ad] | 152 | to PostScript.</para></sect3>
|
---|
| 153 |
|
---|
| 154 | <sect3><title>card</title>
|
---|
| 155 | <para><command>card</command> prints a reference card of a given program's
|
---|
| 156 | options.</para></sect3>
|
---|
| 157 |
|
---|
| 158 | <sect3><title>composeglyphs</title>
|
---|
| 159 | <para><command>composeglyphs</command> creates a composite font
|
---|
| 160 | program.</para></sect3>
|
---|
| 161 |
|
---|
| 162 | <sect3><title>fixnt</title>
|
---|
| 163 | <para><command>fixnt</command> is supposed to fix the problems in
|
---|
| 164 | the PostScript files generated by the Microsoft PostScript driver under
|
---|
| 165 | Windows NT (3.5 and 4.0).</para></sect3>
|
---|
| 166 |
|
---|
| 167 | <sect3><title>fixps</title>
|
---|
| 168 | <para><command>fixps</command> tries to fix common PostScript problems that
|
---|
| 169 | break postprocessing.</para></sect3>
|
---|
| 170 |
|
---|
| 171 | <sect3><title>ogonkify</title>
|
---|
| 172 | <para><command>ogonkify</command> provides international support for
|
---|
| 173 | Postscript by performing various munging of PostScript files
|
---|
| 174 | related to printing in different languages.</para></sect3>
|
---|
| 175 |
|
---|
| 176 | <sect3><title>pdiff</title>
|
---|
| 177 | <para><command>pdiff</command> produces a pretty comparison between
|
---|
| 178 | files.</para></sect3>
|
---|
| 179 |
|
---|
| 180 | <sect3><title>psmandup</title>
|
---|
| 181 | <para><command>psmandup</command> tries to produce a version of a given
|
---|
| 182 | PostScript file to print in manual duplex.</para></sect3>
|
---|
| 183 |
|
---|
| 184 | <sect3><title>psset</title>
|
---|
| 185 | <para><command>psset</command> produces a version of a given PostScript file
|
---|
| 186 | with a protected call to the PostScript operator 'setpagedevice'. Typical use
|
---|
| 187 | is making a file print duplex, or on the manual tray, etc.</para></sect3>
|
---|
| 188 |
|
---|
| 189 | <sect3><title>texi2dvi4a2ps</title>
|
---|
| 190 | <para><command>texi2dvi4a2ps</command> compiles Texinfo and LaTeX files to
|
---|
| 191 | <acronym>DVI</acronym> or <acronym>PDF</acronym></para></sect3>
|
---|
[959f944] | 192 |
|
---|
| 193 | </sect2>
|
---|
[5fd03d2] | 194 |
|
---|
| 195 | </sect1>
|
---|