[ff769b8c] | 1 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 2 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[959f944] | 3 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 4 | %general-entities;
|
---|
[b331bf1] | 5 |
|
---|
| 6 | <!ENTITY enscript-download-http "http://www.iki.fi/mtr/genscript/enscript-&enscript-version;.tar.gz">
|
---|
| 7 | <!ENTITY enscript-download-ftp " ">
|
---|
[b3811e1] | 8 | <!ENTITY enscript-md5sum "b5174b59e4a050fb462af5dbf28ebba3">
|
---|
[b331bf1] | 9 | <!ENTITY enscript-size "1.0 MB">
|
---|
| 10 | <!ENTITY enscript-buildsize "10.2 MB">
|
---|
| 11 | <!ENTITY enscript-time "0.13 SBU">
|
---|
[959f944] | 12 | ]>
|
---|
| 13 |
|
---|
[b331bf1] | 14 | <sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
|
---|
[a0f03b0] | 15 | <sect1info>
|
---|
[5cd0959d] | 16 | <othername>$LastChangedBy$</othername>
|
---|
| 17 | <date>$Date$</date>
|
---|
[a0f03b0] | 18 | </sect1info>
|
---|
[dd3f20f0] | 19 | <?dbhtml filename="enscript.html"?>
|
---|
[b331bf1] | 20 | <title>Enscript-&enscript-version;</title>
|
---|
[5fd03d2] | 21 |
|
---|
[959f944] | 22 | <sect2>
|
---|
[b331bf1] | 23 | <title>Introduction to <application>Enscript</application></title>
|
---|
[959f944] | 24 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 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>
|
---|
[b3811e1] | 35 | <listitem><para>Download MD5 sum: &enscript-md5sum;</para></listitem>
|
---|
[959f944] | 36 | <listitem><para>Download size: &enscript-size;</para></listitem>
|
---|
[518538f] | 37 | <listitem><para>Estimated disk space required:
|
---|
[959f944] | 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>
|
---|
[b331bf1] | 46 | <title>Installation of Enscript</title>
|
---|
[959f944] | 47 |
|
---|
[b331bf1] | 48 | <para>Install <application>Enscript</application> by running the following
|
---|
| 49 | commands:</para>
|
---|
[959f944] | 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>
|
---|
[b331bf1] | 59 | <title>Command explanations</title>
|
---|
[959f944] | 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 |
|
---|
[b331bf1] | 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 |
|
---|
[959f944] | 85 | </sect2>
|
---|
[b331bf1] | 86 |
|
---|
[959f944] | 87 | <sect2><title>Description</title>
|
---|
| 88 |
|
---|
[b331bf1] | 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 |
|
---|
[959f944] | 94 | <sect3><title>enscript</title>
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 100 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 114 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 120 | </sect3>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
[5fd03d2] | 123 |
|
---|
| 124 | </sect1>
|
---|