[b612c85] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[6732c094] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[959f944] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
[a7749db9] | 6 |
|
---|
[959f944] | 7 | <!ENTITY psutils-download-http "http://gd.tuwien.ac.at/publishing/tex/tex-utils/psutils/psutils-&psutils-version;.tar.gz">
|
---|
| 8 | <!ENTITY psutils-download-ftp " ">
|
---|
[b3811e1] | 9 | <!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
---|
[959f944] | 10 | <!ENTITY psutils-size "68 KB">
|
---|
| 11 | <!ENTITY psutils-buildsize "740 KB">
|
---|
| 12 | <!ENTITY psutils-time "0.01 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
[5fd03d2] | 15 | <sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
---|
[b612c85] | 16 | <?dbhtml filename="psutils.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>PSUtils-&psutils-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="psutils">
|
---|
| 26 | <primary sortas="a-PSUtils">PSUtils</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to PSUtils</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>PSUtils</application> is a set of utilities to manipulate
|
---|
| 33 | PostScript files.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&psutils-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&psutils-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &psutils-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &psutils-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &psutils-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &psutils-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
[977061b0] | 57 | <para condition="html" role="usernotes">User Notes:
|
---|
| 58 | <ulink url="&blfs-wiki;/psutils"/></para>
|
---|
| 59 |
|
---|
[b612c85] | 60 | </sect2>
|
---|
| 61 |
|
---|
| 62 | <sect2 role="installation">
|
---|
| 63 | <title>Installation of PSUtils</title>
|
---|
| 64 |
|
---|
| 65 | <para>Install <application>PSUtils</application> by running the
|
---|
| 66 | following commands:</para>
|
---|
| 67 |
|
---|
[eeb1e577] | 68 | <screen><userinput>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile &&
|
---|
[319e95db] | 69 | make</userinput></screen>
|
---|
| 70 |
|
---|
| 71 | <para>This package does not come with a test suite.</para>
|
---|
| 72 |
|
---|
| 73 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 74 |
|
---|
| 75 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b612c85] | 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="commands">
|
---|
| 80 | <title>Command Explanations</title>
|
---|
| 81 |
|
---|
[eeb1e577] | 82 | <para><command>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile</command>:
|
---|
[b612c85] | 83 | This command creates a <filename>Makefile</filename> that installs the
|
---|
| 84 | program to the <filename class="directory">/usr</filename> prefix instead
|
---|
| 85 | of the <filename class="directory">/usr/local</filename> prefix.</para>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="content">
|
---|
| 90 | <title>Contents</title>
|
---|
| 91 |
|
---|
| 92 | <segmentedlist>
|
---|
| 93 | <segtitle>Installed Programs</segtitle>
|
---|
| 94 | <segtitle>Installed Libraries</segtitle>
|
---|
| 95 | <segtitle>Installed Directories</segtitle>
|
---|
| 96 |
|
---|
| 97 | <seglistitem>
|
---|
| 98 | <seg>epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps,
|
---|
| 99 | fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm,
|
---|
| 100 | includeres, psbook, psmerge, psnup, psresize, psselect, pstops,
|
---|
| 101 | and showchar</seg>
|
---|
| 102 | <seg>None</seg>
|
---|
[11c0df9] | 103 | <seg>/usr/share/psutils</seg>
|
---|
[b612c85] | 104 | </seglistitem>
|
---|
| 105 | </segmentedlist>
|
---|
| 106 |
|
---|
| 107 | <para>Sometimes <command>psnup</command> and other utilities from this
|
---|
| 108 | package produce PostScript files that don't conform to Adobe's DSC
|
---|
| 109 | standard. <application>CUPS</application> may print them incorrectly.
|
---|
| 110 | On the other hand, <application>CUPS</application> has builtin
|
---|
| 111 | replacements for most commands from this package. For example, to print
|
---|
| 112 | a document 2-up, you can issue this command:</para>
|
---|
| 113 |
|
---|
[977061b0] | 114 | <screen><userinput>lp -o number-up=2 <replaceable><filename></replaceable></userinput></screen>
|
---|
[b612c85] | 115 |
|
---|
| 116 | <variablelist>
|
---|
| 117 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 118 | <?dbfo list-presentation="list"?>
|
---|
| 119 | <?dbhtml list-presentation="table"?>
|
---|
| 120 |
|
---|
| 121 | <varlistentry id="epsffit">
|
---|
| 122 | <term><command>epsffit</command></term>
|
---|
| 123 | <listitem>
|
---|
| 124 | <para>fits an EPSF file to a given bounding box.</para>
|
---|
| 125 | <indexterm zone="psutils epsffit">
|
---|
| 126 | <primary sortas="b-epsffit">epsffit</primary>
|
---|
| 127 | </indexterm>
|
---|
| 128 | </listitem>
|
---|
| 129 | </varlistentry>
|
---|
| 130 |
|
---|
| 131 | <varlistentry id="psbook">
|
---|
| 132 | <term><command>psbook</command></term>
|
---|
| 133 | <listitem>
|
---|
| 134 | <para>rearranges pages into signatures.</para>
|
---|
| 135 | <indexterm zone="psutils psbook">
|
---|
| 136 | <primary sortas="b-psbook">psbook</primary>
|
---|
| 137 | </indexterm>
|
---|
| 138 | </listitem>
|
---|
| 139 | </varlistentry>
|
---|
| 140 |
|
---|
| 141 | <varlistentry id="psnup">
|
---|
| 142 | <term><command>psnup</command></term>
|
---|
| 143 | <listitem>
|
---|
| 144 | <para>puts multiple pages per physical sheet of paper.</para>
|
---|
| 145 | <indexterm zone="psutils psnup">
|
---|
| 146 | <primary sortas="b-psnup">psnup</primary>
|
---|
| 147 | </indexterm>
|
---|
| 148 | </listitem>
|
---|
| 149 | </varlistentry>
|
---|
| 150 |
|
---|
| 151 | <varlistentry id="psresize">
|
---|
| 152 | <term><command>psresize</command></term>
|
---|
| 153 | <listitem>
|
---|
| 154 | <para>alters the document paper size.</para>
|
---|
| 155 | <indexterm zone="psutils psresize">
|
---|
| 156 | <primary sortas="b-psresize">psresize</primary>
|
---|
| 157 | </indexterm>
|
---|
| 158 | </listitem>
|
---|
| 159 | </varlistentry>
|
---|
| 160 |
|
---|
| 161 | <varlistentry id="psselect">
|
---|
| 162 | <term><command>psselect</command></term>
|
---|
| 163 | <listitem>
|
---|
| 164 | <para>selects pages and page ranges.</para>
|
---|
| 165 | <indexterm zone="psutils psselect">
|
---|
| 166 | <primary sortas="b-psselect">psselect</primary>
|
---|
| 167 | </indexterm>
|
---|
| 168 | </listitem>
|
---|
| 169 | </varlistentry>
|
---|
| 170 |
|
---|
| 171 | <varlistentry id="pstops">
|
---|
| 172 | <term><command>pstops</command></term>
|
---|
| 173 | <listitem>
|
---|
| 174 | <para>performs general page rearrangements and selection.</para>
|
---|
| 175 | <indexterm zone="psutils pstops">
|
---|
| 176 | <primary sortas="b-pstops">pstops</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | <varlistentry>
|
---|
| 182 | <term><command>scripts</command></term>
|
---|
| 183 | <listitem>
|
---|
| 184 | <para>the remaining commands are scripts that perform specific
|
---|
| 185 | functions described in their respective man pages.</para>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | </variablelist>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
[5fd03d2] | 192 |
|
---|
| 193 | </sect1>
|
---|