mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
3eeb0ce776
Archive a2ps and psutils git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@23613 af4574ff-66df-0310-9fd7-8a98e5e911e0
297 lines
8.8 KiB
XML
297 lines
8.8 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!ENTITY psutils-download-http "http://pkgs.fedoraproject.org/repo/pkgs/psutils/psutils-p17.tar.gz/&psutils-md5sum;/psutils-&psutils-version;.tar.gz">
|
|
<!ENTITY psutils-download-ftp " ">
|
|
<!-- <!ENTITY psutils-download-ftp "ftp://ftp.knackered.org/pub/psutils/psutils-&psutils-version;.tar.gz">-->
|
|
<!ENTITY psutils-md5sum "b161522f3bd1507655326afa7db4a0ad">
|
|
<!ENTITY psutils-size "68 KB">
|
|
<!ENTITY psutils-buildsize "740 KB">
|
|
<!ENTITY psutils-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="psutils" xreflabel="PSUtils-&psutils-version;">
|
|
<?dbhtml filename="psutils.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>PSUtils-&psutils-version;</title>
|
|
|
|
<indexterm zone="psutils">
|
|
<primary sortas="a-PSUtils">PSUtils</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to PSUtils</title>
|
|
|
|
<para>
|
|
<application>PSUtils</application> is a set of utilities to manipulate
|
|
PostScript files.
|
|
</para>
|
|
|
|
&lfs91_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&psutils-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&psutils-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &psutils-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &psutils-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &psutils-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &psutils-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/psutils"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of PSUtils</title>
|
|
|
|
<para>
|
|
Install <application>PSUtils</application> by running the
|
|
following commands:
|
|
</para>
|
|
|
|
<screen><userinput>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
This package does not come with a test suite.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<command>sed 's@/usr/local@/usr@g' Makefile.unix > Makefile</command>:
|
|
This command creates a <filename>Makefile</filename> that installs the
|
|
program to the <filename class="directory">/usr</filename> prefix instead
|
|
of the <filename class="directory">/usr/local</filename> prefix.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps,
|
|
fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm,
|
|
includeres, psbook, psmerge, psnup, psresize, psselect, pstops,
|
|
and showchar</seg>
|
|
<seg>None</seg>
|
|
<seg>/usr/share/psutils</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<para>
|
|
Sometimes <command>psnup</command> and other utilities from this
|
|
package produce PostScript files that don't conform to Adobe's DSC
|
|
standard. <application>CUPS</application> may print them incorrectly.
|
|
On the other hand, <application>CUPS</application> has builtin
|
|
replacements for most commands from this package. For example, to print
|
|
a document 2-up, you can issue this command:
|
|
</para>
|
|
|
|
<screen><userinput>lp -o number-up=2 <replaceable><filename></replaceable></userinput></screen>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="epsffit">
|
|
<term><command>epsffit</command></term>
|
|
<listitem>
|
|
<para>
|
|
fits an EPSF file to a given bounding box.
|
|
</para>
|
|
<indexterm zone="psutils epsffit">
|
|
<primary sortas="b-epsffit">epsffit</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="extractres">
|
|
<term><command>extractres</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a filter to extract resources from a PostScript document.
|
|
</para>
|
|
<indexterm zone="psutils extractres">
|
|
<primary sortas="b-extractres">extractres</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="fixprogs">
|
|
<term><command>fix*</command></term>
|
|
<listitem>
|
|
<para>
|
|
are filters of different kinds of documents to work with PSUtils.
|
|
</para>
|
|
<indexterm zone="psutils fixprogs">
|
|
<primary sortas="b-fixprogs">fix*</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="getafm">
|
|
<term><command>getafm</command></term>
|
|
<listitem>
|
|
<para>
|
|
create an AFM file for a PostScript font.
|
|
</para>
|
|
<indexterm zone="psutils getafm">
|
|
<primary sortas="b-getafm">getafm</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="includeres">
|
|
<term><command>includeres</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a filter to include resources in a PostScript document.
|
|
</para>
|
|
<indexterm zone="psutils includeres">
|
|
<primary sortas="b-includeres">includeres</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="psbook">
|
|
<term><command>psbook</command></term>
|
|
<listitem>
|
|
<para>
|
|
rearranges pages into signatures.
|
|
</para>
|
|
<indexterm zone="psutils psbook">
|
|
<primary sortas="b-psbook">psbook</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="psmerge">
|
|
<term><command>psmerge</command></term>
|
|
<listitem>
|
|
<para>
|
|
is a filter to merge several PostScript files into one.
|
|
</para>
|
|
<indexterm zone="psutils psmerge">
|
|
<primary sortas="b-psmerge">psmerge</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="psnup">
|
|
<term><command>psnup</command></term>
|
|
<listitem>
|
|
<para>
|
|
puts multiple pages per physical sheet of paper.
|
|
</para>
|
|
<indexterm zone="psutils psnup">
|
|
<primary sortas="b-psnup">psnup</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="psresize">
|
|
<term><command>psresize</command></term>
|
|
<listitem>
|
|
<para>
|
|
alters the document paper size.
|
|
</para>
|
|
<indexterm zone="psutils psresize">
|
|
<primary sortas="b-psresize">psresize</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="psselect">
|
|
<term><command>psselect</command></term>
|
|
<listitem>
|
|
<para>
|
|
selects pages and page ranges.
|
|
</para>
|
|
<indexterm zone="psutils psselect">
|
|
<primary sortas="b-psselect">psselect</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="pstops">
|
|
<term><command>pstops</command></term>
|
|
<listitem>
|
|
<para>
|
|
performs general page rearrangements and selection.
|
|
</para>
|
|
<indexterm zone="psutils pstops">
|
|
<primary sortas="b-pstops">pstops</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
<varlistentry id="showchar">
|
|
<term><command>showchar</command></term>
|
|
<listitem>
|
|
<para>
|
|
outputs PostScript to draw a character with metric info.
|
|
</para>
|
|
<indexterm zone="psutils showchar">
|
|
<primary sortas="b-showchar">showchar</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|