[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 |
|
---|
[42d6d3b] | 7 | <!ENTITY psutils-download-http "http://pkgs.fedoraproject.org/repo/pkgs/psutils/psutils-p17.tar.gz/&psutils-md5sum;/psutils-&psutils-version;.tar.gz">
|
---|
| 8 | <!ENTITY psutils-download-ftp " ">
|
---|
| 9 | <!-- <!ENTITY psutils-download-ftp "ftp://ftp.knackered.org/pub/psutils/psutils-&psutils-version;.tar.gz">-->
|
---|
[b3811e1] | 10 | <!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
---|
[959f944] | 11 | <!ENTITY psutils-size "68 KB">
|
---|
| 12 | <!ENTITY psutils-buildsize "740 KB">
|
---|
[93343b6] | 13 | <!ENTITY psutils-time "less than 0.1 SBU">
|
---|
[959f944] | 14 | ]>
|
---|
| 15 |
|
---|
[5fd03d2] | 16 | <sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
---|
[b612c85] | 17 | <?dbhtml filename="psutils.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>PSUtils-&psutils-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="psutils">
|
---|
| 27 | <primary sortas="a-PSUtils">PSUtils</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to PSUtils</title>
|
---|
| 32 |
|
---|
| 33 | <para><application>PSUtils</application> is a set of utilities to manipulate
|
---|
| 34 | PostScript files.</para>
|
---|
| 35 |
|
---|
[e570555] | 36 | &lfs80_checked;
|
---|
[3134860] | 37 |
|
---|
[b612c85] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&psutils-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&psutils-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &psutils-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &psutils-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &psutils-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &psutils-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[977061b0] | 60 | <para condition="html" role="usernotes">User Notes:
|
---|
| 61 | <ulink url="&blfs-wiki;/psutils"/></para>
|
---|
| 62 |
|
---|
[b612c85] | 63 | </sect2>
|
---|
| 64 |
|
---|
| 65 | <sect2 role="installation">
|
---|
| 66 | <title>Installation of PSUtils</title>
|
---|
| 67 |
|
---|
| 68 | <para>Install <application>PSUtils</application> by running the
|
---|
| 69 | following commands:</para>
|
---|
| 70 |
|
---|
[eeb1e577] | 71 | <screen><userinput>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile &&
|
---|
[319e95db] | 72 | make</userinput></screen>
|
---|
| 73 |
|
---|
| 74 | <para>This package does not come with a test suite.</para>
|
---|
| 75 |
|
---|
| 76 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 77 |
|
---|
| 78 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[b612c85] | 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="commands">
|
---|
| 83 | <title>Command Explanations</title>
|
---|
| 84 |
|
---|
[eeb1e577] | 85 | <para><command>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile</command>:
|
---|
[b612c85] | 86 | This command creates a <filename>Makefile</filename> that installs the
|
---|
| 87 | program to the <filename class="directory">/usr</filename> prefix instead
|
---|
| 88 | of the <filename class="directory">/usr/local</filename> prefix.</para>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="content">
|
---|
| 93 | <title>Contents</title>
|
---|
| 94 |
|
---|
| 95 | <segmentedlist>
|
---|
| 96 | <segtitle>Installed Programs</segtitle>
|
---|
| 97 | <segtitle>Installed Libraries</segtitle>
|
---|
| 98 | <segtitle>Installed Directories</segtitle>
|
---|
| 99 |
|
---|
| 100 | <seglistitem>
|
---|
| 101 | <seg>epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps,
|
---|
| 102 | fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm,
|
---|
| 103 | includeres, psbook, psmerge, psnup, psresize, psselect, pstops,
|
---|
| 104 | and showchar</seg>
|
---|
| 105 | <seg>None</seg>
|
---|
[11c0df9] | 106 | <seg>/usr/share/psutils</seg>
|
---|
[b612c85] | 107 | </seglistitem>
|
---|
| 108 | </segmentedlist>
|
---|
| 109 |
|
---|
| 110 | <para>Sometimes <command>psnup</command> and other utilities from this
|
---|
| 111 | package produce PostScript files that don't conform to Adobe's DSC
|
---|
| 112 | standard. <application>CUPS</application> may print them incorrectly.
|
---|
| 113 | On the other hand, <application>CUPS</application> has builtin
|
---|
| 114 | replacements for most commands from this package. For example, to print
|
---|
| 115 | a document 2-up, you can issue this command:</para>
|
---|
| 116 |
|
---|
[977061b0] | 117 | <screen><userinput>lp -o number-up=2 <replaceable><filename></replaceable></userinput></screen>
|
---|
[b612c85] | 118 |
|
---|
| 119 | <variablelist>
|
---|
| 120 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 121 | <?dbfo list-presentation="list"?>
|
---|
| 122 | <?dbhtml list-presentation="table"?>
|
---|
| 123 |
|
---|
| 124 | <varlistentry id="epsffit">
|
---|
| 125 | <term><command>epsffit</command></term>
|
---|
| 126 | <listitem>
|
---|
| 127 | <para>fits an EPSF file to a given bounding box.</para>
|
---|
| 128 | <indexterm zone="psutils epsffit">
|
---|
| 129 | <primary sortas="b-epsffit">epsffit</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
[298fee30] | 134 | <varlistentry id="extractres">
|
---|
| 135 | <term><command>extractres</command></term>
|
---|
| 136 | <listitem>
|
---|
| 137 | <para>
|
---|
| 138 | is a filter to extract resources from a PostScript document.
|
---|
| 139 | </para>
|
---|
| 140 | <indexterm zone="psutils extractres">
|
---|
| 141 | <primary sortas="b-extractres">extractres</primary>
|
---|
| 142 | </indexterm>
|
---|
| 143 | </listitem>
|
---|
| 144 | </varlistentry>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="fixprogs">
|
---|
| 147 | <term><command>fix*</command></term>
|
---|
| 148 | <listitem>
|
---|
| 149 | <para>
|
---|
| 150 | are filters of different kinds of documents to work with PSUtils.
|
---|
| 151 | </para>
|
---|
| 152 | <indexterm zone="psutils fixprogs">
|
---|
| 153 | <primary sortas="b-fixprogs">fix*</primary>
|
---|
| 154 | </indexterm>
|
---|
| 155 | </listitem>
|
---|
| 156 | </varlistentry>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="getafm">
|
---|
| 159 | <term><command>getafm</command></term>
|
---|
| 160 | <listitem>
|
---|
| 161 | <para>
|
---|
[f3429309] | 162 | create an AFM file for a PostScript font.
|
---|
[298fee30] | 163 | </para>
|
---|
| 164 | <indexterm zone="psutils getafm">
|
---|
| 165 | <primary sortas="b-getafm">getafm</primary>
|
---|
| 166 | </indexterm>
|
---|
| 167 | </listitem>
|
---|
| 168 | </varlistentry>
|
---|
| 169 |
|
---|
| 170 | <varlistentry id="includeres">
|
---|
| 171 | <term><command>includeres</command></term>
|
---|
| 172 | <listitem>
|
---|
| 173 | <para>
|
---|
| 174 | is a filter to include resources in a PostScript document.
|
---|
| 175 | </para>
|
---|
| 176 | <indexterm zone="psutils includeres">
|
---|
| 177 | <primary sortas="b-includeres">includeres</primary>
|
---|
| 178 | </indexterm>
|
---|
| 179 | </listitem>
|
---|
| 180 | </varlistentry>
|
---|
| 181 |
|
---|
[b612c85] | 182 | <varlistentry id="psbook">
|
---|
| 183 | <term><command>psbook</command></term>
|
---|
| 184 | <listitem>
|
---|
| 185 | <para>rearranges pages into signatures.</para>
|
---|
| 186 | <indexterm zone="psutils psbook">
|
---|
| 187 | <primary sortas="b-psbook">psbook</primary>
|
---|
| 188 | </indexterm>
|
---|
| 189 | </listitem>
|
---|
| 190 | </varlistentry>
|
---|
| 191 |
|
---|
[298fee30] | 192 | <varlistentry id="psmerge">
|
---|
| 193 | <term><command>psmerge</command></term>
|
---|
| 194 | <listitem>
|
---|
| 195 | <para>
|
---|
[f3429309] | 196 | is a filter to merge several PostScript files into one.
|
---|
[298fee30] | 197 | </para>
|
---|
| 198 | <indexterm zone="psutils psmerge">
|
---|
| 199 | <primary sortas="b-psmerge">psmerge</primary>
|
---|
| 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
[b612c85] | 204 | <varlistentry id="psnup">
|
---|
| 205 | <term><command>psnup</command></term>
|
---|
| 206 | <listitem>
|
---|
| 207 | <para>puts multiple pages per physical sheet of paper.</para>
|
---|
| 208 | <indexterm zone="psutils psnup">
|
---|
| 209 | <primary sortas="b-psnup">psnup</primary>
|
---|
| 210 | </indexterm>
|
---|
| 211 | </listitem>
|
---|
| 212 | </varlistentry>
|
---|
| 213 |
|
---|
| 214 | <varlistentry id="psresize">
|
---|
| 215 | <term><command>psresize</command></term>
|
---|
| 216 | <listitem>
|
---|
| 217 | <para>alters the document paper size.</para>
|
---|
| 218 | <indexterm zone="psutils psresize">
|
---|
| 219 | <primary sortas="b-psresize">psresize</primary>
|
---|
| 220 | </indexterm>
|
---|
| 221 | </listitem>
|
---|
| 222 | </varlistentry>
|
---|
| 223 |
|
---|
| 224 | <varlistentry id="psselect">
|
---|
| 225 | <term><command>psselect</command></term>
|
---|
| 226 | <listitem>
|
---|
| 227 | <para>selects pages and page ranges.</para>
|
---|
| 228 | <indexterm zone="psutils psselect">
|
---|
| 229 | <primary sortas="b-psselect">psselect</primary>
|
---|
| 230 | </indexterm>
|
---|
| 231 | </listitem>
|
---|
| 232 | </varlistentry>
|
---|
| 233 |
|
---|
| 234 | <varlistentry id="pstops">
|
---|
| 235 | <term><command>pstops</command></term>
|
---|
| 236 | <listitem>
|
---|
| 237 | <para>performs general page rearrangements and selection.</para>
|
---|
| 238 | <indexterm zone="psutils pstops">
|
---|
| 239 | <primary sortas="b-pstops">pstops</primary>
|
---|
| 240 | </indexterm>
|
---|
| 241 | </listitem>
|
---|
| 242 | </varlistentry>
|
---|
| 243 |
|
---|
[298fee30] | 244 | <varlistentry id="showchar">
|
---|
| 245 | <term><command>showchar</command></term>
|
---|
[b612c85] | 246 | <listitem>
|
---|
[298fee30] | 247 | <para>
|
---|
| 248 | outputs PostScript to draw a character with metric info.
|
---|
| 249 | </para>
|
---|
| 250 | <indexterm zone="psutils showchar">
|
---|
| 251 | <primary sortas="b-showchar">showchar</primary>
|
---|
| 252 | </indexterm>
|
---|
[b612c85] | 253 | </listitem>
|
---|
| 254 | </varlistentry>
|
---|
| 255 |
|
---|
| 256 | </variablelist>
|
---|
| 257 |
|
---|
| 258 | </sect2>
|
---|
[5fd03d2] | 259 |
|
---|
| 260 | </sect1>
|
---|