2005-05-16 21:09:37 +08:00
|
|
|
<?xml version="1.0" encoding="ISO-8859-1"?>
|
2005-04-04 04:52:42 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
|
|
%general-entities;
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY psutils-download-http "http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/psutils-&psutils-version;.tar.gz">
|
|
|
|
<!ENTITY psutils-download-ftp " ">
|
2005-02-16 12:09:14 +08:00
|
|
|
<!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
2004-06-14 13:25:53 +08:00
|
|
|
<!ENTITY psutils-size "68 KB">
|
|
|
|
<!ENTITY psutils-buildsize "740 KB">
|
|
|
|
<!ENTITY psutils-time "0.01 SBU">
|
|
|
|
]>
|
|
|
|
|
2003-10-04 16:58:56 +08:00
|
|
|
<sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
2005-05-16 21:09:37 +08:00
|
|
|
<?dbhtml filename="psutils.html"?>
|
|
|
|
|
|
|
|
<sect1info>
|
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
|
|
|
</sect1info>
|
|
|
|
|
|
|
|
<title>PSUtils-&psutils-version;</title>
|
|
|
|
|
|
|
|
<indexterm zone="psutils">
|
|
|
|
<primary sortas="a-PSUtils">PSUtils</primary>
|
|
|
|
</indexterm>
|
|
|
|
|
|
|
|
<sect2 role="package">
|
|
|
|
<title>Introduction to PSUtils</title>
|
|
|
|
|
|
|
|
<para><application>PSUtils</application> is a set of utilities to manipulate
|
|
|
|
PostScript files.</para>
|
|
|
|
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
|
|
<itemizedlist spacing="compact">
|
|
|
|
<listitem>
|
|
|
|
<para>Download (HTTP): <ulink url="&psutils-download-http;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download (FTP): <ulink url="&psutils-download-ftp;"/></para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download MD5 sum: &psutils-md5sum;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Download size: &psutils-size;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated disk space required: &psutils-buildsize;</para>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<para>Estimated build time: &psutils-time;</para>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="installation">
|
|
|
|
<title>Installation of PSUtils</title>
|
|
|
|
|
|
|
|
<para>Install <application>PSUtils</application> by running the
|
|
|
|
following commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput>cat Makefile.unix | sed -e 's|/usr/local|/usr|g' > Makefile &&
|
2004-06-14 13:25:53 +08:00
|
|
|
make &&
|
2005-05-16 21:09:37 +08:00
|
|
|
make install</userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="commands">
|
|
|
|
<title>Command Explanations</title>
|
|
|
|
|
|
|
|
<para><command>cat Makefile.unix | sed -e ... > Makefile</command>:
|
|
|
|
This command creates a <filename>Makefile</filename> that installs the
|
|
|
|
program to the <filename class="directory">/usr</filename> prefix instead
|
|
|
|
of the <filename class="directory">/usr/local</filename> prefix.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2 role="content">
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<segmentedlist>
|
|
|
|
<segtitle>Installed Programs</segtitle>
|
|
|
|
<segtitle>Installed Libraries</segtitle>
|
|
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
|
|
|
|
<seglistitem>
|
|
|
|
<seg>epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps,
|
|
|
|
fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm,
|
|
|
|
includeres, psbook, psmerge, psnup, psresize, psselect, pstops,
|
|
|
|
and showchar</seg>
|
|
|
|
<seg>None</seg>
|
|
|
|
<seg>Not determined at this time</seg>
|
|
|
|
</seglistitem>
|
|
|
|
</segmentedlist>
|
|
|
|
|
|
|
|
<para>Sometimes <command>psnup</command> and other utilities from this
|
|
|
|
package produce PostScript files that don't conform to Adobe's DSC
|
|
|
|
standard. <application>CUPS</application> may print them incorrectly.
|
|
|
|
On the other hand, <application>CUPS</application> has builtin
|
|
|
|
replacements for most commands from this package. For example, to print
|
|
|
|
a document 2-up, you can issue this command:</para>
|
|
|
|
|
|
|
|
<screen><userinput>lp -o number-up=2 <replaceable>[filename]</replaceable></userinput></screen>
|
|
|
|
|
|
|
|
<variablelist>
|
|
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
|
|
<?dbfo list-presentation="list"?>
|
|
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
|
|
|
|
<varlistentry id="epsffit">
|
|
|
|
<term><command>epsffit</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>fits an EPSF file to a given bounding box.</para>
|
|
|
|
<indexterm zone="psutils epsffit">
|
|
|
|
<primary sortas="b-epsffit">epsffit</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="psbook">
|
|
|
|
<term><command>psbook</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>rearranges pages into signatures.</para>
|
|
|
|
<indexterm zone="psutils psbook">
|
|
|
|
<primary sortas="b-psbook">psbook</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="psnup">
|
|
|
|
<term><command>psnup</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>puts multiple pages per physical sheet of paper.</para>
|
|
|
|
<indexterm zone="psutils psnup">
|
|
|
|
<primary sortas="b-psnup">psnup</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="psresize">
|
|
|
|
<term><command>psresize</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>alters the document paper size.</para>
|
|
|
|
<indexterm zone="psutils psresize">
|
|
|
|
<primary sortas="b-psresize">psresize</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="psselect">
|
|
|
|
<term><command>psselect</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>selects pages and page ranges.</para>
|
|
|
|
<indexterm zone="psutils psselect">
|
|
|
|
<primary sortas="b-psselect">psselect</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry id="pstops">
|
|
|
|
<term><command>pstops</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>performs general page rearrangements and selection.</para>
|
|
|
|
<indexterm zone="psutils pstops">
|
|
|
|
<primary sortas="b-pstops">pstops</primary>
|
|
|
|
</indexterm>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term><command>scripts</command></term>
|
|
|
|
<listitem>
|
|
|
|
<para>the remaining commands are scripts that perform specific
|
|
|
|
functions described in their respective man pages.</para>
|
|
|
|
</listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
|
|
|
</variablelist>
|
|
|
|
|
|
|
|
</sect2>
|
2003-10-04 16:58:56 +08:00
|
|
|
|
|
|
|
</sect1>
|