source: pst/ps/enscript.xml@ 6ad5d0f

10.0 10.1 11.0 8.4 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since 6ad5d0f was 6ad5d0f, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Tags for the rest of the printing stack

Avahi: Remove obsolete systemctl enable command. DNSCONFD is enabled by default by make install.

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

  • Property mode set to 100644
File size: 8.3 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Keeping this URL as this is the actual maintainer's site
8 <!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
9 -->
10
11 <!ENTITY enscript-download-http "&gnu-http;/enscript/enscript-&enscript-version;.tar.gz">
12 <!ENTITY enscript-download-ftp "&gnu-ftp;/enscript/enscript-&enscript-version;.tar.gz">
13 <!ENTITY enscript-md5sum "3acc242b829adacabcaf28533f049afd">
14 <!ENTITY enscript-size "1.3 MB">
15 <!ENTITY enscript-buildsize "14 MB">
16 <!ENTITY enscript-time "0.1 SBU">
17]>
18
19<sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
20 <?dbhtml filename="enscript.html"?>
21
22 <sect1info>
23 <othername>$LastChangedBy$</othername>
24 <date>$Date$</date>
25 </sect1info>
26
27 <title>Enscript-&enscript-version;</title>
28
29 <indexterm zone="enscript">
30 <primary sortas="a-Enscript">Enscript</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Enscript</title>
35
36 <para><application>Enscript</application> converts ASCII text files
37 to PostScript, HTML, RTF, ANSI and overstrikes.</para>
38
39 &lfs84_checked;
40
41 <caution>
42 <para><application>Enscript</application> cannot convert UTF-8 encoded
43 text to PostScript. The issue is discussed in detail in the
44 <xref linkend="locale-not-valid-option"/> section of the
45 <xref linkend="locale-issues"/> page.
46 The solution is to use <xref linkend="paps"/>, instead of
47 <application>Enscript</application>, for converting
48 UTF-8 encoded text to PostScript.</para>
49 </caution>
50
51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
54 <para>Download (HTTP): <ulink url="&enscript-download-http;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download (FTP): <ulink url="&enscript-download-ftp;"/></para>
58 </listitem>
59 <listitem>
60 <para>Download MD5 sum: &enscript-md5sum;</para>
61 </listitem>
62 <listitem>
63 <para>Download size: &enscript-size;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated disk space required: &enscript-buildsize;</para>
67 </listitem>
68 <listitem>
69 <para>Estimated build time: &enscript-time;</para>
70 </listitem>
71 </itemizedlist>
72
73 <!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
74 <itemizedlist spacing="compact">
75 <listitem>
76 <para>Required patch: <ulink
77 url="&patch-root;/enscript-&enscript-version;-security_fixes-1.patch"/></para>
78 </listitem>
79 </itemizedlist> -->
80
81 <bridgehead renderas="sect3">Enscript Dependencies</bridgehead>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="texlive"/> (or <xref linkend="tl-installer"/>)
86 </para>
87
88 <para condition="html" role="usernotes">User Notes:
89 <ulink url="&blfs-wiki;/Enscript"/></para>
90 </sect2>
91
92 <sect2 role="installation">
93 <title>Installation of Enscript</title>
94
95 <para>Install <application>Enscript</application> by running the
96 following commands:</para>
97
98<screen><userinput>./configure --prefix=/usr \
99 --sysconfdir=/etc/enscript \
100 --localstatedir=/var \
101 --with-media=Letter &amp;&amp;
102make &amp;&amp;
103
104pushd docs &amp;&amp;
105 makeinfo --plaintext -o enscript.txt enscript.texi &amp;&amp;
106popd</userinput></screen>
107
108 <para>If you have <xref linkend="texlive"/> installed, you can create
109 Postscript and PDF documentation by issuing (does not support parallel
110 make):
111 <command>make -j1 -C docs ps pdf</command>.</para>
112
113 <para>To test the results, issue: <command>make check</command>.</para>
114
115 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
116
117<screen role="root"><userinput>make install &amp;&amp;
118
119install -v -m755 -d /usr/share/doc/enscript-&enscript-version; &amp;&amp;
120install -v -m644 README* *.txt docs/*.txt \
121 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
122
123 <para>If you built Postscript and PDF documentation, install it
124 using the following command as the
125 <systemitem class="username">root</systemitem> user:</para>
126
127<screen role="root"><userinput>install -v -m644 docs/*.{dvi,pdf,ps} \
128 /usr/share/doc/enscript-&enscript-version;</userinput></screen>
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
135 configuration data in <filename class="directory">/etc/enscript</filename>
136 instead of <filename class="directory">/usr/etc</filename>.</para>
137
138 <para><parameter>--localstatedir=/var</parameter>: This switch sets the
139 directory for runtime data to <filename class="directory">/var</filename>
140 instead of <filename class="directory">/usr/var</filename>.</para>
141
142 <para><parameter>--with-media=Letter</parameter>: This switch sets the
143 medium format to letter size instead of the A4 default.</para>
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>diffpp, enscript, mkafmmap, over, sliceprint,
156 and states</seg>
157 <seg>None</seg>
158 <seg>/etc/enscript, /usr/share/doc/enscript-&enscript-version;, and
159 /usr/share/enscript</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="diffpp">
169 <term><command>diffpp</command></term>
170 <listitem>
171 <para>converts <command>diff</command> output files to a format
172 suitable to be printed with <command>enscript</command>.</para>
173 <indexterm zone="enscript diffpp">
174 <primary sortas="b-diffpp">diffpp</primary>
175 </indexterm>
176 </listitem>
177 </varlistentry>
178
179 <varlistentry id="enscript-prog">
180 <term><command>enscript</command></term>
181 <listitem>
182 <para>is a filter, used primarily by printing scripts, that
183 converts ASCII text files to PostScript, HTML, RTF, ANSI and
184 overstrikes.</para>
185 <indexterm zone="enscript enscript-prog">
186 <primary sortas="b-enscript">enscript</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 <varlistentry id="mkafmmap">
192 <term><command>mkafmmap</command></term>
193 <listitem>
194 <para>creates a font map from a given file.</para>
195 <indexterm zone="enscript mkafmmap">
196 <primary sortas="b-mkafmmap">mkafmmap</primary>
197 </indexterm>
198 </listitem>
199 </varlistentry>
200
201 <varlistentry id="over">
202 <term><command>over</command></term>
203 <listitem>
204 <para>is a script which calls <command>enscript</command> and
205 passes the correct parameters to create overstriked fonts.</para>
206 <indexterm zone="enscript over">
207 <primary sortas="b-over">over</primary>
208 </indexterm>
209 </listitem>
210 </varlistentry>
211
212 <varlistentry id="sliceprint">
213 <term><command>sliceprint</command></term>
214 <listitem>
215 <para>slices documents with long lines.</para>
216 <indexterm zone="enscript sliceprint">
217 <primary sortas="b-sliceprint">sliceprint</primary>
218 </indexterm>
219 </listitem>
220 </varlistentry>
221
222 <varlistentry id="states">
223 <term><command>states</command></term>
224 <listitem>
225 <para>is an <command>awk</command>-like text processing tool
226 with some state machine extensions. It is designed for program
227 source code highlighting and for similar tasks where state
228 information helps input processing.</para>
229 <indexterm zone="enscript states">
230 <primary sortas="b-states">states</primary>
231 </indexterm>
232 </listitem>
233 </varlistentry>
234
235 </variablelist>
236
237 </sect2>
238
239</sect1>
Note: See TracBrowser for help on using the repository browser.