1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
4 | %general-entities;
|
---|
5 |
|
---|
6 | <!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
|
---|
7 | <!ENTITY enscript-download-ftp " ">
|
---|
8 | <!ENTITY enscript-md5sum "b5174b59e4a050fb462af5dbf28ebba3">
|
---|
9 | <!ENTITY enscript-size "1.0 MB">
|
---|
10 | <!ENTITY enscript-buildsize "10.2 MB">
|
---|
11 | <!ENTITY enscript-time "0.13 SBU">
|
---|
12 | ]>
|
---|
13 |
|
---|
14 | <sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
|
---|
15 | <sect1info>
|
---|
16 | <othername>$LastChangedBy$</othername>
|
---|
17 | <date>$Date$</date>
|
---|
18 | </sect1info>
|
---|
19 | <?dbhtml filename="enscript.html"?>
|
---|
20 | <title>Enscript-&enscript-version;</title>
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Introduction to <application>Enscript</application></title>
|
---|
24 |
|
---|
25 | <para><application>Enscript</application> converts <acronym>ASCII</acronym>
|
---|
26 | text files to PostScript, <acronym>HTML</acronym>, <acronym>RTF</acronym>,
|
---|
27 | <acronym>ANSI</acronym> and overstrikes.</para>
|
---|
28 |
|
---|
29 | <sect3><title>Package information</title>
|
---|
30 | <itemizedlist spacing='compact'>
|
---|
31 | <listitem><para>Download (HTTP): <ulink
|
---|
32 | url="&enscript-download-http;"/></para></listitem>
|
---|
33 | <listitem><para>Download (FTP): <ulink
|
---|
34 | url="&enscript-download-ftp;"/></para></listitem>
|
---|
35 | <listitem><para>Download MD5 sum: &enscript-md5sum;</para></listitem>
|
---|
36 | <listitem><para>Download size: &enscript-size;</para></listitem>
|
---|
37 | <listitem><para>Estimated disk space required:
|
---|
38 | &enscript-buildsize;</para></listitem>
|
---|
39 | <listitem><para>Estimated build time:
|
---|
40 | &enscript-time;</para></listitem></itemizedlist>
|
---|
41 | </sect3>
|
---|
42 |
|
---|
43 | </sect2>
|
---|
44 |
|
---|
45 | <sect2>
|
---|
46 | <title>Installation of Enscript</title>
|
---|
47 |
|
---|
48 | <para>Install <application>Enscript</application> by running the following
|
---|
49 | commands:</para>
|
---|
50 |
|
---|
51 | <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc/enscript \
|
---|
52 | --localstatedir=/var --with-media=Letter &&
|
---|
53 | make &&
|
---|
54 | make install</command></userinput></screen>
|
---|
55 |
|
---|
56 | </sect2>
|
---|
57 |
|
---|
58 | <sect2>
|
---|
59 | <title>Command explanations</title>
|
---|
60 |
|
---|
61 | <para><parameter>--sysconfdir=/etc/enscript</parameter>: This switch puts
|
---|
62 | configuration data in <filename class="directory">/etc/enscript</filename>
|
---|
63 | instead of <filename class="directory">/usr/etc</filename>.</para>
|
---|
64 |
|
---|
65 | <para><parameter>--localstatedir=/var</parameter>: This switch sets the
|
---|
66 | directory for runtime data to <filename class="directory">/var</filename>
|
---|
67 | instead of <filename class="directory">/usr/var</filename>.</para>
|
---|
68 |
|
---|
69 | <para><parameter>--with-media=Letter</parameter>: This switch sets the
|
---|
70 | medium format to letter.</para>
|
---|
71 |
|
---|
72 | </sect2>
|
---|
73 |
|
---|
74 | <sect2>
|
---|
75 | <title>Contents</title>
|
---|
76 |
|
---|
77 | <para>The <application>Enscript</application> package contains
|
---|
78 | <command>diffpp</command>,
|
---|
79 | <command>enscript</command>,
|
---|
80 | <command>mkafmmap</command>,
|
---|
81 | <command>over</command>,
|
---|
82 | <command>sliceprint</command>,
|
---|
83 | <command>states</command> and filter data.</para>
|
---|
84 |
|
---|
85 | </sect2>
|
---|
86 |
|
---|
87 | <sect2><title>Description</title>
|
---|
88 |
|
---|
89 | <sect3><title>diffpp</title>
|
---|
90 | <para><command>diffpp</command> converts <command>diff</command> output files
|
---|
91 | to a format suitable to be printed with <command>enscript</command>.</para>
|
---|
92 | </sect3>
|
---|
93 |
|
---|
94 | <sect3><title>enscript</title>
|
---|
95 | <para><command>enscript</command> is a filter, used primarily by printing
|
---|
96 | scripts, that converts <acronym>ASCII</acronym> text files to PostScript,
|
---|
97 | <acronym>HTML</acronym>, <acronym>RTF</acronym>, <acronym>ANSI</acronym> and
|
---|
98 | overstrikes.</para>
|
---|
99 | </sect3>
|
---|
100 |
|
---|
101 | <sect3><title>mkafmmap</title>
|
---|
102 | <para><command>mkafmmap</command> creates a font map from a given file.</para>
|
---|
103 | </sect3>
|
---|
104 |
|
---|
105 | <sect3><title>over</title>
|
---|
106 | <para><command>over</command> is a script which calls
|
---|
107 | <command>enscript</command> and passes the correct parameters to create
|
---|
108 | overstriked fonts.</para>
|
---|
109 | </sect3>
|
---|
110 |
|
---|
111 | <sect3><title>sliceprint</title>
|
---|
112 | <para><command>sliceprint</command> slices documents with long lines.</para>
|
---|
113 | </sect3>
|
---|
114 |
|
---|
115 | <sect3><title>states</title>
|
---|
116 | <para><command>states</command> is an <command>awk</command>-like text
|
---|
117 | processing tool with some state machine extensions. It is designed for program
|
---|
118 | source code highlighting and for similar tasks where state information helps
|
---|
119 | input processing.</para>
|
---|
120 | </sect3>
|
---|
121 |
|
---|
122 | </sect2>
|
---|
123 |
|
---|
124 | </sect1>
|
---|