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 | <?dbhtml filename="a2ps.html"?>
|
---|
15 | <title>a2ps-&a2ps-version;</title>
|
---|
16 |
|
---|
17 | <sect2>
|
---|
18 | <title>Introduction to <application>a2ps</application></title>
|
---|
19 |
|
---|
20 | <para><application>a2ps</application> is a filter utilitized mainly in the
|
---|
21 | background and primarily by printing scripts to convert almost
|
---|
22 | every input format into PostScript output. The application's name expands
|
---|
23 | appropriately to "all to PostScript".</para>
|
---|
24 |
|
---|
25 | <sect3><title>Package information</title>
|
---|
26 | <itemizedlist spacing='compact'>
|
---|
27 | <listitem><para>Download (HTTP): <ulink
|
---|
28 | url="&a2ps-download-http;"/></para></listitem>
|
---|
29 | <listitem><para>Download (FTP): <ulink
|
---|
30 | url="&a2ps-download-ftp;"/></para></listitem>
|
---|
31 | <listitem><para>Download size: &a2ps-size;</para></listitem>
|
---|
32 | <listitem><para>Estimated Disk space required:
|
---|
33 | &a2ps-buildsize;</para></listitem>
|
---|
34 | <listitem><para>Estimated build time:
|
---|
35 | &a2ps-time;</para></listitem></itemizedlist>
|
---|
36 | </sect3>
|
---|
37 |
|
---|
38 | <sect3><title>Additional downloads</title>
|
---|
39 | <itemizedlist spacing='compact'>
|
---|
40 | <listitem><para>International fonts: <ulink
|
---|
41 | url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/>
|
---|
42 | </para></listitem></itemizedlist>
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | <sect3><title><application>a2ps</application> dependencies</title>
|
---|
46 | <sect4><title>Optional</title>
|
---|
47 | <para><xref linkend="psutils"/> and
|
---|
48 | <xref linkend="gs"/> or <xref linkend="espgs"/>
|
---|
49 | </para></sect4>
|
---|
50 | </sect3>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 | <sect2>
|
---|
55 | <title>Installation of <application>a2ps</application></title>
|
---|
56 |
|
---|
57 |
|
---|
58 | <para>Install <application>a2ps</application> by running the following commands:
|
---|
59 | </para>
|
---|
60 |
|
---|
61 | <screen><userinput><command>cd contrib &&
|
---|
62 | cp Makefile.in Makefile.in.orig &&
|
---|
63 | sed -e "s:emacs::" Makefile.in.orig > Makefile.in &&
|
---|
64 | cd .. &&
|
---|
65 | cp configure{,.orig} &&
|
---|
66 | sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
|
---|
67 | configure.orig > configure &&
|
---|
68 | ./configure --prefix=/usr \
|
---|
69 | --sysconfdir=/etc/a2ps --localstatedir=/var \
|
---|
70 | --with-medium=letter &&
|
---|
71 | make &&
|
---|
72 | make install</command></userinput></screen>
|
---|
73 |
|
---|
74 | </sect2>
|
---|
75 |
|
---|
76 | <sect2>
|
---|
77 | <title>Command explanations</title>
|
---|
78 |
|
---|
79 | <para><screen><command>cd contrib &&
|
---|
80 | cp Makefile.in Makefile.in.orig &&
|
---|
81 | sed -e "s:emacs::" Makefile.in.orig > Makefile.in &&
|
---|
82 | cd .. &&</command></screen>
|
---|
83 | These commands eliminate the compiling and installing of the
|
---|
84 | <application>Emacs</application> script files. If you have substituted
|
---|
85 | <application>Emacs</application> for <application>Vi</application> as your
|
---|
86 | primary editor, you would want to skip these instructions.</para>
|
---|
87 |
|
---|
88 | <para><screen><command>cp configure{,.orig} &&
|
---|
89 | sed -e 's|/usr/local/share/ghostscript|/usr/share/ghostscript|g' \
|
---|
90 | configure.orig > configure</command></screen>
|
---|
91 | This command modifies the configure script to search for
|
---|
92 | <application>Ghostscript</application> fonts
|
---|
93 | at the location where they were installed by the <acronym>BLFS</acronym>
|
---|
94 | instructions.</para>
|
---|
95 |
|
---|
96 | <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
|
---|
97 | goes to <filename class="directory">/etc/a2ps</filename> instead of
|
---|
98 | <filename class="directory">/usr/etc</filename>.</para>
|
---|
99 |
|
---|
100 | <para><parameter>--with-medium=letter</parameter>: This switch changes
|
---|
101 | the default paper format of A4 to letter. Installations that utilize A4
|
---|
102 | would eliminate this switch.</para>
|
---|
103 |
|
---|
104 | </sect2>
|
---|
105 |
|
---|
106 | <sect2>
|
---|
107 | <title>Configuring <application>a2ps</application></title>
|
---|
108 |
|
---|
109 | <sect3><title>Config files</title>
|
---|
110 |
|
---|
111 | <para><filename>/etc/a2ps/a2ps.cfg</filename>, <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
|
---|
112 |
|
---|
113 | </sect3>
|
---|
114 |
|
---|
115 | <sect3><title>Configuration Information</title>
|
---|
116 |
|
---|
117 | <para>Information about configuring <application>a2ps</application> can be
|
---|
118 | found in the comments contained in the above files, and also by
|
---|
119 | running <command>info a2ps</command>.</para>
|
---|
120 | </sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | <sect2>
|
---|
125 | <title>Contents</title>
|
---|
126 |
|
---|
127 | <para>The <application>a2ps</application> package
|
---|
128 | contains <command>a2ps</command> and filter data.</para>
|
---|
129 | </sect2>
|
---|
130 |
|
---|
131 |
|
---|
132 | <sect2><title>Description</title>
|
---|
133 |
|
---|
134 | <sect3><title>a2ps</title>
|
---|
135 |
|
---|
136 | <para><command>a2ps</command> is a filter, utilized primarily by
|
---|
137 | printing scripts, that converts standard input or supported files
|
---|
138 | to PostScript.</para>
|
---|
139 |
|
---|
140 | </sect3>
|
---|
141 |
|
---|
142 | </sect2>
|
---|
143 |
|
---|
144 | </sect1>
|
---|