source: pst/ps/a2ps.xml@ deddaa7

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since deddaa7 was deddaa7, checked in by David Jensen <djensen@…>, 19 years ago

instruction changes to a2ps, bug#1216

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4588 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 10.7 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY a2ps-download-http "http://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
8 <!ENTITY a2ps-download-ftp "ftp://ftp.gnu.org/gnu/a2ps/a2ps-&a2ps-version;.tar.gz">
9 <!ENTITY a2ps-md5sum "0c8e0c31b08c14f7a7198ce967eb3281">
10 <!ENTITY a2ps-size "1.9 MB">
11 <!ENTITY a2ps-buildsize "20.7 MB">
12 <!ENTITY a2ps-time "0.26 SBU">
13]>
14
15<sect1 id="a2ps" xreflabel="a2ps-&a2ps-version;">
16 <?dbhtml filename="a2ps.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>a2ps-&a2ps-version;</title>
24
25 <indexterm zone="a2ps">
26 <primary sortas="a-a2ps">a2ps</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to a2ps</title>
31
32 <para><application>a2ps</application> is a filter utilitized mainly
33 in the background and primarily by printing scripts to convert almost
34 every input format into PostScript output. The application's name
35 expands appropriately to "all to PostScript".</para>
36
37 <bridgehead renderas="sect3">Package Information</bridgehead>
38 <itemizedlist spacing="compact">
39 <listitem>
40 <para>Download (HTTP): <ulink url="&a2ps-download-http;"/></para>
41 </listitem>
42 <listitem>
43 <para>Download (FTP): <ulink url="&a2ps-download-ftp;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download MD5 sum: &a2ps-md5sum;</para>
47 </listitem>
48 <listitem>
49 <para>Download size: &a2ps-size;</para>
50 </listitem>
51 <listitem>
52 <para>Estimated disk space required: &a2ps-buildsize;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated build time: &a2ps-time;</para>
56 </listitem>
57 </itemizedlist>
58
59 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
60 <itemizedlist spacing='compact'>
61 <listitem>
62 <para>International fonts: <ulink
63 url="ftp://ftp.enst.fr/pub/unix/a2ps/i18n-fonts-0.1.tar.gz"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">a2ps Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Optional</bridgehead>
70 <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
71 <xref linkend="psutils"/>,
72 <xref linkend="tex"/>,
73 <xref linkend="gs"/> or <xref linkend="espgs"/>,
74 <ulink
75 url="http://packages.debian.org/unstable/source/libpaper">libpaper</ulink>,
76 <ulink url="http://www.adobe.com/products/acrobat/readstep2.html">Adobe
77 Reader</ulink> and
78 <ulink
79 url="http://www.gnu.org/software/ghostview/ghostview.html">Ghostview</ulink></para>
80
81 </sect2>
82
83 <sect2 role="installation">
84 <title>Installation of a2ps</title>
85
86 <para>Install <application>a2ps</application> by running the following
87 commands:</para>
88
89<screen><userinput>sed -i "s|emacs||" contrib/Makefile.in &amp;&amp;
90sed -i "s|/usr/local/share|/usr/share|" configure &amp;&amp;
91sed -i "s|char \*malloc ();|/* &amp; */|" \
92 lib/path-concat.c &amp;&amp;
93./configure --prefix=/usr \
94 --sysconfdir=/etc/a2ps --localstatedir=/var \
95 --enable-shared --with-medium=letter &amp;&amp;
96make</userinput></screen>
97
98 <para>To test the results, issue: <command>make check</command>.
99 Printers.tst will fail, as there is no default test printer.</para>
100
101 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
102
103<screen role="root"><userinput>make install</userinput></screen>
104
105 <para>Install the downloaded i18n-fonts by running the following
106 commands:</para>
107
108 <para>As the <systemitem class="username">root</systemitem> user:</para>
109
110<screen role="root"><userinput>cp -v fonts/* /usr/share/a2ps/fonts &amp;&amp;
111cp -v afm/* /usr/share/a2ps/afm &amp;&amp;
112cd /usr/share/a2ps/afm &amp;&amp;
113./make_fonts_map.sh &amp;&amp;
114mv fonts.map.new fonts.map</userinput></screen>
115
116 </sect2>
117
118 <sect2 role="commands">
119 <title>Command Explanations</title>
120
121 <para><command>sed -i -e "s|emacs||" contrib/Makefile.in</command>:
122 This command eliminates the compiling and installing of the
123 <application>Emacs</application> script files. If you have substituted
124 <application>Emacs</application> for <application>Vi</application> as your
125 primary editor, skip this step.</para>
126
127 <para><command>sed -i -e "s|/usr/local/share|/usr/share|" configure</command>:
128 This command modifies the configure script to search for
129 <application>Ghostscript</application> fonts at the location where they were
130 installed by the BLFS instructions.</para>
131
132 <para><command>sed -i -e "s|char \*malloc ();|/* &amp; */|"
133 lib/path-concat.c</command>: This command fixes a build problem with
134 <application>GCC</application>-3.4.x</para>
135
136 <para><parameter>--sysconfdir=/etc/a2ps</parameter>: Configuration data
137 is installed in <filename class="directory">/etc/a2ps</filename> instead of
138 <filename class="directory">/usr/etc</filename>.</para>
139
140 <para><parameter>--enable-shared</parameter>: This switch enables building
141 the dynamic <filename class='libraryfile'>liba2ps</filename> library.</para>
142
143 <para><parameter>--with-medium=letter</parameter>: This switch changes
144 the default paper format of A4 to letter. Installations that utilize A4
145 would eliminate this switch.</para>
146
147 </sect2>
148
149 <sect2 role="configuration">
150 <title>Configuring a2ps</title>
151
152 <sect3 id="a2ps-config">
153 <title>Config Files</title>
154
155 <para><filename>/etc/a2ps/a2ps.cfg</filename>,
156 <filename>/etc/a2ps/a2ps-site.cfg</filename></para>
157
158 <indexterm zone="a2ps a2ps-config">
159 <primary sortas="e-etc-a2ps-a2ps.cfg">/etc/a2ps/a2ps.cfg</primary>
160 </indexterm>
161
162 <indexterm zone="a2ps a2ps-config">
163 <primary sortas="e-etc-a2ps-a2ps-site.cfg">/etc/a2ps/a2ps-site.cfg</primary>
164 </indexterm>
165
166 </sect3>
167
168 <sect3>
169 <title>Configuration Information</title>
170
171 <para>Information about configuring <application>a2ps</application>
172 can be found in the comments contained in the above files, and also
173 by running <command>info a2ps</command>.</para>
174
175 </sect3>
176
177 </sect2>
178
179 <sect2 role="content">
180 <title>Contents</title>
181
182 <segmentedlist>
183 <segtitle>Installed Programs</segtitle>
184 <segtitle>Installed Libraries</segtitle>
185 <segtitle>Installed Directories</segtitle>
186
187 <seglistitem>
188 <seg>a2ps, card, composeglyphs, fixnt, fixps, ogonkify,
189 pdiff, psmandup, psset, and texi2dvi4a2ps</seg>
190 <seg>liba2ps.[so,a] and filter data</seg>
191 <seg>/etc/a2ps, and /usr/share/a2ps with subdirs</seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="a2ps-prog">
201 <term><command>a2ps</command></term>
202 <listitem>
203 <para>is a filter, utilized primarily by printing scripts,
204 that converts standard input or supported files to PostScript.</para>
205 <indexterm zone="a2ps a2ps-prog">
206 <primary sortas="b-a2ps">a2ps</primary>
207 </indexterm>
208 </listitem>
209 </varlistentry>
210
211 <varlistentry id="card">
212 <term><command>card</command></term>
213 <listitem>
214 <para>prints a reference card of a given program's options.</para>
215 <indexterm zone="a2ps card">
216 <primary sortas="b-card">card</primary>
217 </indexterm>
218 </listitem>
219 </varlistentry>
220
221 <varlistentry id="composeglyphs">
222 <term><command>composeglyphs</command></term>
223 <listitem>
224 <para>creates a composite font program.</para>
225 <indexterm zone="a2ps composeglyphs">
226 <primary sortas="b-composeglyphs">composeglyphs</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="fixnt">
232 <term><command>fixnt</command></term>
233 <listitem>
234 <para>is supposed to fix the problems in the PostScript files
235 generated by the Microsoft PostScript driver under Windows NT
236 (3.5 and 4.0).</para>
237 <indexterm zone="a2ps fixnt">
238 <primary sortas="b-fixnt">fixnt</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 <varlistentry id="fixps">
244 <term><command>fixps</command></term>
245 <listitem>
246 <para>tries to fix common PostScript problems that break
247 postprocessing.</para>
248 <indexterm zone="a2ps fixps">
249 <primary sortas="b-fixps">fixps</primary>
250 </indexterm>
251 </listitem>
252 </varlistentry>
253
254 <varlistentry id="ogonkify">
255 <term><command>ogonkify</command></term>
256 <listitem>
257 <para>provides international support for Postscript by performing
258 various munging of PostScript files related to printing in different
259 languages.</para>
260 <indexterm zone="a2ps ogonkify">
261 <primary sortas="b-ogonkify">ogonkify</primary>
262 </indexterm>
263 </listitem>
264 </varlistentry>
265
266 <varlistentry id="pdiff">
267 <term><command>pdiff</command></term>
268 <listitem>
269 <para>produces a pretty comparison between files.</para>
270 <indexterm zone="a2ps pdiff">
271 <primary sortas="b-pdiff">pdiff</primary>
272 </indexterm>
273 </listitem>
274 </varlistentry>
275
276 <varlistentry id="psmandup">
277 <term><command>psmandup</command></term>
278 <listitem>
279 <para>tries to produce a version of a given PostScript file to
280 print in manual duplex.</para>
281 <indexterm zone="a2ps psmandup">
282 <primary sortas="b-psmandup">psmandup</primary>
283 </indexterm>
284 </listitem>
285 </varlistentry>
286
287 <varlistentry id="psset">
288 <term><command>psset</command></term>
289 <listitem>
290 <para>produces a version of a given PostScript file with a
291 protected call to the PostScript operator 'setpagedevice'.
292 Typical use is making a file print duplex, or on the manual
293 tray, etc.</para>
294 <indexterm zone="a2ps psset">
295 <primary sortas="b-psset">psset</primary>
296 </indexterm>
297 </listitem>
298 </varlistentry>
299
300 <varlistentry id="texi2dvi4a2ps">
301 <term><command>texi2dvi4a2ps</command></term>
302 <listitem>
303 <para>compiles Texinfo and LaTeX files to DVI or PDF</para>
304 <indexterm zone="a2ps texi2dvi4a2ps">
305 <primary sortas="b-texi2dvi4a2ps">texi2dvi4a2ps</primary>
306 </indexterm>
307 </listitem>
308 </varlistentry>
309
310 </variablelist>
311
312 </sect2>
313
314</sect1>
Note: See TracBrowser for help on using the repository browser.