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