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