[959f944] | 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;
|
---|
[b331bf1] | 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">
|
---|
[959f944] | 11 | ]>
|
---|
| 12 |
|
---|
[b331bf1] | 13 | <sect1 id="enscript" xreflabel="Enscript-&enscript-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="enscript.html"?>
|
---|
[b331bf1] | 19 | <title>Enscript-&enscript-version;</title>
|
---|
[5fd03d2] | 20 |
|
---|
[959f944] | 21 | <sect2>
|
---|
[b331bf1] | 22 | <title>Introduction to <application>Enscript</application></title>
|
---|
[959f944] | 23 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 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>
|
---|
[518538f] | 35 | <listitem><para>Estimated disk space required:
|
---|
[959f944] | 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>
|
---|
[b331bf1] | 44 | <title>Installation of Enscript</title>
|
---|
[959f944] | 45 |
|
---|
[b331bf1] | 46 | <para>Install <application>Enscript</application> by running the following
|
---|
| 47 | commands:</para>
|
---|
[959f944] | 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>
|
---|
[b331bf1] | 57 | <title>Command explanations</title>
|
---|
[959f944] | 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 |
|
---|
[b331bf1] | 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 |
|
---|
[959f944] | 83 | </sect2>
|
---|
[b331bf1] | 84 |
|
---|
[959f944] | 85 | <sect2><title>Description</title>
|
---|
| 86 |
|
---|
[b331bf1] | 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 |
|
---|
[959f944] | 92 | <sect3><title>enscript</title>
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 98 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 112 |
|
---|
[b331bf1] | 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>
|
---|
[959f944] | 118 | </sect3>
|
---|
| 119 |
|
---|
| 120 | </sect2>
|
---|
[5fd03d2] | 121 |
|
---|
| 122 | </sect1>
|
---|