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