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