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 |
|
---|
13 | <sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
|
---|
14 | <sect1info>
|
---|
15 | <othername>$LastChangedBy$</othername>
|
---|
16 | <date>$Date$</date>
|
---|
17 | </sect1info>
|
---|
18 | <?dbhtml filename="a2ps.html"?>
|
---|
19 | <title>a2ps-&a2ps-version;</title>
|
---|
20 |
|
---|
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>
|
---|
36 | <listitem><para>Estimated Disk space required:
|
---|
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>
|
---|
51 | <para><xref linkend="psutils"/> and
|
---|
52 | <xref linkend="gs"/> or <xref linkend="espgs"/>
|
---|
53 | </para></sect4>
|
---|
54 | </sect3>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2>
|
---|
59 | <title>Installation of <application>a2ps</application></title>
|
---|
60 |
|
---|
61 |
|
---|
62 | <para>Install <application>a2ps</application> by running the following commands:
|
---|
63 | </para>
|
---|
64 |
|
---|
65 | <screen><userinput><command>cd contrib &&
|
---|
66 | cp Makefile.in Makefile.in.orig &&
|
---|
67 | sed -e "s:emacs::" Makefile.in.orig > Makefile.in &&
|
---|
68 | cd .. &&
|
---|
69 | cp configure{,.orig} &&
|
---|
70 | sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
|
---|
71 | configure.orig > configure &&
|
---|
72 | ./configure --prefix=/usr \
|
---|
73 | --sysconfdir=/etc/a2ps --localstatedir=/var \
|
---|
74 | --with-medium=letter &&
|
---|
75 | make &&
|
---|
76 | make install</command></userinput></screen>
|
---|
77 |
|
---|
78 | </sect2>
|
---|
79 |
|
---|
80 | <sect2>
|
---|
81 | <title>Command explanations</title>
|
---|
82 |
|
---|
83 | <para><screen><command>cd contrib &&
|
---|
84 | cp Makefile.in Makefile.in.orig &&
|
---|
85 | sed -e "s:emacs::" Makefile.in.orig > Makefile.in &&
|
---|
86 | cd .. &&</command></screen>
|
---|
87 | These commands eliminate the compiling and installing of the
|
---|
88 | <application>Emacs</application> script files. If you have substituted
|
---|
89 | <application>Emacs</application> for <application>Vi</application> as your
|
---|
90 | primary editor, you would want to skip these instructions.</para>
|
---|
91 |
|
---|
92 | <para><screen><command>cp configure{,.orig} &&
|
---|
93 | sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
|
---|
94 | configure.orig > configure</command></screen>
|
---|
95 | This command modifies the configure script to search for
|
---|
96 | <application>Ghostscript</application> fonts
|
---|
97 | at the location where they were installed by the <acronym>BLFS</acronym>
|
---|
98 | instructions.</para>
|
---|
99 |
|
---|
100 | <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
---|
101 | goes to <filename class="directory">/etc/a2ps</filename> instead of
|
---|
102 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
103 |
|
---|
104 | <para><parameter>--with-medium=letter</parameter>: This switch changes
|
---|
105 | the default paper format of A4 to letter. Installations that utilize A4
|
---|
106 | would eliminate this switch.</para>
|
---|
107 |
|
---|
108 | </sect2>
|
---|
109 |
|
---|
110 | <sect2>
|
---|
111 | <title>Configuring <application>a2ps</application></title>
|
---|
112 |
|
---|
113 | <sect3><title>Config files</title>
|
---|
114 |
|
---|
115 | <para><filename>/etc/a2ps/a2ps.cfg</filename>, <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
|
---|
116 |
|
---|
117 | </sect3>
|
---|
118 |
|
---|
119 | <sect3><title>Configuration Information</title>
|
---|
120 |
|
---|
121 | <para>Information about configuring <application>a2ps</application> can be
|
---|
122 | found in the comments contained in the above files, and also by
|
---|
123 | running <command>info a2ps</command>.</para>
|
---|
124 | </sect3>
|
---|
125 |
|
---|
126 | </sect2>
|
---|
127 |
|
---|
128 | <sect2>
|
---|
129 | <title>Contents</title>
|
---|
130 |
|
---|
131 | <para>The <application>a2ps</application> package
|
---|
132 | contains <command>a2ps</command> and filter data.</para>
|
---|
133 | </sect2>
|
---|
134 |
|
---|
135 |
|
---|
136 | <sect2><title>Description</title>
|
---|
137 |
|
---|
138 | <sect3><title>a2ps</title>
|
---|
139 |
|
---|
140 | <para><command>a2ps</command> is a filter, utilized primarily by
|
---|
141 | printing scripts, that converts standard input or supported files
|
---|
142 | to PostScript.</para>
|
---|
143 |
|
---|
144 | </sect3>
|
---|
145 |
|
---|
146 | </sect2>
|
---|
147 |
|
---|
148 | </sect1>
|
---|