[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;
|
---|
[a7749db9] | 5 |
|
---|
[959f944] | 6 | <!ENTITY psutils-download-http "http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/psutils-&psutils-version;.tar.gz">
|
---|
| 7 | <!ENTITY psutils-download-ftp " ">
|
---|
| 8 | <!ENTITY psutils-size "68 KB">
|
---|
| 9 | <!ENTITY psutils-buildsize "740 KB">
|
---|
| 10 | <!ENTITY psutils-time "0.01 SBU">
|
---|
| 11 | ]>
|
---|
| 12 |
|
---|
[5fd03d2] | 13 | <sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
---|
[a0f03b0] | 14 | <sect1info>
|
---|
[5cd0959d] | 15 | <othername>$LastChangedBy$</othername>
|
---|
| 16 | <date>$Date$</date>
|
---|
[a0f03b0] | 17 | </sect1info>
|
---|
[dd3f20f0] | 18 | <?dbhtml filename="psutils.html"?>
|
---|
[5fd03d2] | 19 | <title>PSUtils-&psutils-version;</title>
|
---|
| 20 |
|
---|
[959f944] | 21 | <sect2>
|
---|
| 22 | <title>Introduction to <application>PSUtils</application></title>
|
---|
| 23 |
|
---|
| 24 | <para><application>PSUtils</application> is a set of utilities to manipulate
|
---|
| 25 | PostScript files.</para>
|
---|
| 26 |
|
---|
| 27 | <sect3><title>Package information</title>
|
---|
| 28 | <itemizedlist spacing='compact'>
|
---|
| 29 | <listitem><para>Download (HTTP): <ulink
|
---|
| 30 | url="&psutils-download-http;"/></para></listitem>
|
---|
| 31 | <listitem><para>Download (FTP): <ulink
|
---|
| 32 | url="&psutils-download-ftp;"/></para></listitem>
|
---|
| 33 | <listitem><para>Download size: &psutils-size;</para></listitem>
|
---|
[518538f] | 34 | <listitem><para>Estimated disk space required:
|
---|
[959f944] | 35 | &psutils-buildsize;</para></listitem>
|
---|
| 36 | <listitem><para>Estimated build time:
|
---|
| 37 | &psutils-time;</para></listitem></itemizedlist>
|
---|
| 38 | </sect3>
|
---|
| 39 |
|
---|
| 40 | </sect2>
|
---|
| 41 |
|
---|
| 42 | <sect2>
|
---|
| 43 | <title>Installation of <application>PSUtils</application></title>
|
---|
| 44 |
|
---|
| 45 | <para>Install <application>PSUtils</application> by running the following
|
---|
| 46 | commands:</para>
|
---|
| 47 |
|
---|
[a7749db9] | 48 | <screen><userinput><command>cat Makefile.unix | sed -e 's|/usr/local|/usr|g' > Makefile &&
|
---|
[959f944] | 49 | make &&
|
---|
| 50 | make install</command></userinput></screen>
|
---|
| 51 |
|
---|
| 52 | </sect2>
|
---|
| 53 |
|
---|
| 54 | <sect2>
|
---|
| 55 | <title>Installation command explanations</title>
|
---|
| 56 |
|
---|
[a7749db9] | 57 | <para><command>cat Makefile.unix | sed -e ... > Makefile</command>: This
|
---|
| 58 | command creates a <filename>Makefile</filename> that installs the program to
|
---|
| 59 | the <filename class="directory">/usr</filename> prefix instead of the
|
---|
[959f944] | 60 | <filename class="directory">/usr/local</filename> prefix.</para>
|
---|
| 61 |
|
---|
| 62 | </sect2>
|
---|
| 63 |
|
---|
| 64 | <sect2>
|
---|
| 65 | <title>Contents</title>
|
---|
[a7749db9] | 66 |
|
---|
| 67 | <para>The <application>PSUtils</application> package contains
|
---|
| 68 | <command>psbook</command>, <command>psselect</command>,
|
---|
| 69 | <command>pstops</command>, <command>psnup</command>,
|
---|
| 70 | <command>psresize</command>, <command>epsffit</command>,
|
---|
| 71 | <command>getafm</command>, <command>showchar</command>,
|
---|
| 72 | <command>fixdlsrps</command>, <command>fixfmps</command>,
|
---|
| 73 | <command>fixmacps</command>, <command>fixpsditps</command>,
|
---|
| 74 | <command>fixpspps</command>, <command>fixscribeps</command>,
|
---|
| 75 | <command>fixtpps</command>, <command>fixwfwps</command>,
|
---|
| 76 | <command>fixwpps</command>, <command>fixwwps</command>,
|
---|
| 77 | <command>extractres</command>, <command>includeres</command> and
|
---|
| 78 | <command>psmerge</command>.</para>
|
---|
[959f944] | 79 |
|
---|
| 80 | <para>Sometimes <command>psnup</command> and other utilities from this
|
---|
| 81 | package produce PostScript files that don't conform to Adobe's
|
---|
[a7749db9] | 82 | <acronym>DSC</acronym> standard.
|
---|
[959f944] | 83 | <application><acronym>CUPS</acronym></application> may print them
|
---|
| 84 | incorrectly. On the other hand,
|
---|
| 85 | <application><acronym>CUPS</acronym></application> has builtin
|
---|
| 86 | replacements for most commands from this package. For example, to print
|
---|
[a7749db9] | 87 | a document 2-up, you can issue this command:</para>
|
---|
[959f944] | 88 |
|
---|
| 89 | <screen><userinput><command>lp -o number-up=2 <replaceable>[filename]</replaceable></command></userinput></screen>
|
---|
[a7749db9] | 90 |
|
---|
[959f944] | 91 | </sect2>
|
---|
[a7749db9] | 92 |
|
---|
[959f944] | 93 | <sect2><title>Description</title>
|
---|
[a7749db9] | 94 |
|
---|
[959f944] | 95 | <sect3><title>psbook</title>
|
---|
| 96 | <para><command>psbook</command> rearranges pages into signatures.</para></sect3>
|
---|
[a7749db9] | 97 |
|
---|
[959f944] | 98 | <sect3><title>psselect</title>
|
---|
| 99 | <para><command>psselect</command> selects pages and page ranges.</para>
|
---|
| 100 | </sect3>
|
---|
[a7749db9] | 101 |
|
---|
[959f944] | 102 | <sect3><title>pstops</title>
|
---|
| 103 | <para><command>pstops</command> performs general page rearrangements
|
---|
| 104 | and selection.</para></sect3>
|
---|
[a7749db9] | 105 |
|
---|
[959f944] | 106 | <sect3><title>psnup</title>
|
---|
| 107 | <para><command>psnup</command> puts multiple pages per physical sheet
|
---|
| 108 | of paper.</para></sect3>
|
---|
| 109 |
|
---|
| 110 | <sect3><title>psresize</title>
|
---|
| 111 | <para><command>psresize</command> alters the document paper size.</para></sect3>
|
---|
[a7749db9] | 112 |
|
---|
[959f944] | 113 | <sect3><title>epsffit</title>
|
---|
| 114 | <para><command>epsffit</command> fits an <acronym>EPSF</acronym> file to a
|
---|
| 115 | given bounding box.</para></sect3>
|
---|
| 116 |
|
---|
| 117 | <sect3><title>scripts</title>
|
---|
| 118 | <para>The remaining commands are scripts that perform specific functions
|
---|
| 119 | described in their respective man pages.</para></sect3>
|
---|
| 120 |
|
---|
| 121 | </sect2>
|
---|
[5fd03d2] | 122 |
|
---|
| 123 | </sect1>
|
---|