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