2004-06-14 13:25:53 +08:00
|
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
<!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 " ">
|
|
|
|
<!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;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-05-07 11:24:31 +08:00
|
|
|
<?dbhtml filename="psutils.html"?>
|
2003-10-04 16:58:56 +08:00
|
|
|
<title>PSUtils-&psutils-version;</title>
|
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect2>
|
|
|
|
<title>Introduction to <application>PSUtils</application></title>
|
|
|
|
|
|
|
|
<para><application>PSUtils</application> is a set of utilities to manipulate
|
|
|
|
PostScript files.</para>
|
|
|
|
|
|
|
|
<sect3><title>Package information</title>
|
|
|
|
<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 size: &psutils-size;</para></listitem>
|
2005-01-11 01:48:41 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-14 13:25:53 +08:00
|
|
|
&psutils-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&psutils-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation of <application>PSUtils</application></title>
|
|
|
|
|
|
|
|
<para>Install <application>PSUtils</application> by running the following
|
|
|
|
commands:</para>
|
|
|
|
|
2004-09-01 11:24:59 +08:00
|
|
|
<screen><userinput><command>cat Makefile.unix | sed -e 's|/usr/local|/usr|g' > Makefile &&
|
2004-06-14 13:25:53 +08:00
|
|
|
make &&
|
|
|
|
make install</command></userinput></screen>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Installation command explanations</title>
|
|
|
|
|
2004-09-01 11:24:59 +08:00
|
|
|
<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
|
2004-06-14 13:25:53 +08:00
|
|
|
<filename class="directory">/usr/local</filename> prefix.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
|
|
|
<para>The <application>PSUtils</application> package contains
|
|
|
|
<command>psbook</command>, <command>psselect</command>,
|
|
|
|
<command>pstops</command>, <command>psnup</command>,
|
|
|
|
<command>psresize</command>, <command>epsffit</command>,
|
|
|
|
<command>getafm</command>, <command>showchar</command>,
|
|
|
|
<command>fixdlsrps</command>, <command>fixfmps</command>,
|
|
|
|
<command>fixmacps</command>, <command>fixpsditps</command>,
|
|
|
|
<command>fixpspps</command>, <command>fixscribeps</command>,
|
|
|
|
<command>fixtpps</command>, <command>fixwfwps</command>,
|
|
|
|
<command>fixwpps</command>, <command>fixwwps</command>,
|
|
|
|
<command>extractres</command>, <command>includeres</command> and
|
|
|
|
<command>psmerge</command>.</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
|
|
|
<para>Sometimes <command>psnup</command> and other utilities from this
|
|
|
|
package produce PostScript files that don't conform to Adobe's
|
2004-09-01 11:24:59 +08:00
|
|
|
<acronym>DSC</acronym> standard.
|
2004-06-14 13:25:53 +08:00
|
|
|
<application><acronym>CUPS</acronym></application> may print them
|
|
|
|
incorrectly. On the other hand,
|
|
|
|
<application><acronym>CUPS</acronym></application> has builtin
|
|
|
|
replacements for most commands from this package. For example, to print
|
2004-09-01 11:24:59 +08:00
|
|
|
a document 2-up, you can issue this command:</para>
|
2004-06-14 13:25:53 +08:00
|
|
|
|
|
|
|
<screen><userinput><command>lp -o number-up=2 <replaceable>[filename]</replaceable></command></userinput></screen>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
</sect2>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect2><title>Description</title>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect3><title>psbook</title>
|
|
|
|
<para><command>psbook</command> rearranges pages into signatures.</para></sect3>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect3><title>psselect</title>
|
|
|
|
<para><command>psselect</command> selects pages and page ranges.</para>
|
|
|
|
</sect3>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect3><title>pstops</title>
|
|
|
|
<para><command>pstops</command> performs general page rearrangements
|
|
|
|
and selection.</para></sect3>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect3><title>psnup</title>
|
|
|
|
<para><command>psnup</command> puts multiple pages per physical sheet
|
|
|
|
of paper.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>psresize</title>
|
|
|
|
<para><command>psresize</command> alters the document paper size.</para></sect3>
|
2004-09-01 11:24:59 +08:00
|
|
|
|
2004-06-14 13:25:53 +08:00
|
|
|
<sect3><title>epsffit</title>
|
|
|
|
<para><command>epsffit</command> fits an <acronym>EPSF</acronym> file to a
|
|
|
|
given bounding box.</para></sect3>
|
|
|
|
|
|
|
|
<sect3><title>scripts</title>
|
|
|
|
<para>The remaining commands are scripts that perform specific functions
|
|
|
|
described in their respective man pages.</para></sect3>
|
|
|
|
|
|
|
|
</sect2>
|
2003-10-04 16:58:56 +08:00
|
|
|
|
|
|
|
</sect1>
|