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