1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">-->
|
---|
10 | <!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
---|
11 | <!ENTITY psutils-size "68 KB">
|
---|
12 | <!ENTITY psutils-buildsize "740 KB">
|
---|
13 | <!ENTITY psutils-time "less than 0.1 SBU">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
---|
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 |
|
---|
36 | &lfs77_checked;
|
---|
37 |
|
---|
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 |
|
---|
60 | <para condition="html" role="usernotes">User Notes:
|
---|
61 | <ulink url="&blfs-wiki;/psutils"/></para>
|
---|
62 |
|
---|
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 |
|
---|
71 | <screen><userinput>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile &&
|
---|
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>
|
---|
79 |
|
---|
80 | </sect2>
|
---|
81 |
|
---|
82 | <sect2 role="commands">
|
---|
83 | <title>Command Explanations</title>
|
---|
84 |
|
---|
85 | <para><command>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile</command>:
|
---|
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>
|
---|
106 | <seg>/usr/share/psutils</seg>
|
---|
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 |
|
---|
117 | <screen><userinput>lp -o number-up=2 <replaceable><filename></replaceable></userinput></screen>
|
---|
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 |
|
---|
134 | <varlistentry id="psbook">
|
---|
135 | <term><command>psbook</command></term>
|
---|
136 | <listitem>
|
---|
137 | <para>rearranges pages into signatures.</para>
|
---|
138 | <indexterm zone="psutils psbook">
|
---|
139 | <primary sortas="b-psbook">psbook</primary>
|
---|
140 | </indexterm>
|
---|
141 | </listitem>
|
---|
142 | </varlistentry>
|
---|
143 |
|
---|
144 | <varlistentry id="psnup">
|
---|
145 | <term><command>psnup</command></term>
|
---|
146 | <listitem>
|
---|
147 | <para>puts multiple pages per physical sheet of paper.</para>
|
---|
148 | <indexterm zone="psutils psnup">
|
---|
149 | <primary sortas="b-psnup">psnup</primary>
|
---|
150 | </indexterm>
|
---|
151 | </listitem>
|
---|
152 | </varlistentry>
|
---|
153 |
|
---|
154 | <varlistentry id="psresize">
|
---|
155 | <term><command>psresize</command></term>
|
---|
156 | <listitem>
|
---|
157 | <para>alters the document paper size.</para>
|
---|
158 | <indexterm zone="psutils psresize">
|
---|
159 | <primary sortas="b-psresize">psresize</primary>
|
---|
160 | </indexterm>
|
---|
161 | </listitem>
|
---|
162 | </varlistentry>
|
---|
163 |
|
---|
164 | <varlistentry id="psselect">
|
---|
165 | <term><command>psselect</command></term>
|
---|
166 | <listitem>
|
---|
167 | <para>selects pages and page ranges.</para>
|
---|
168 | <indexterm zone="psutils psselect">
|
---|
169 | <primary sortas="b-psselect">psselect</primary>
|
---|
170 | </indexterm>
|
---|
171 | </listitem>
|
---|
172 | </varlistentry>
|
---|
173 |
|
---|
174 | <varlistentry id="pstops">
|
---|
175 | <term><command>pstops</command></term>
|
---|
176 | <listitem>
|
---|
177 | <para>performs general page rearrangements and selection.</para>
|
---|
178 | <indexterm zone="psutils pstops">
|
---|
179 | <primary sortas="b-pstops">pstops</primary>
|
---|
180 | </indexterm>
|
---|
181 | </listitem>
|
---|
182 | </varlistentry>
|
---|
183 |
|
---|
184 | <varlistentry>
|
---|
185 | <term><command>scripts</command></term>
|
---|
186 | <listitem>
|
---|
187 | <para>the remaining commands are scripts that perform specific
|
---|
188 | functions described in their respective man pages.</para>
|
---|
189 | </listitem>
|
---|
190 | </varlistentry>
|
---|
191 |
|
---|
192 | </variablelist>
|
---|
193 |
|
---|
194 | </sect2>
|
---|
195 |
|
---|
196 | </sect1>
|
---|