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