PSUtils-p17

Introduction to PSUtils

PSUtils is a set of utilities to manipulate PostScript files.

This package is known to build and work properly using an LFS-7.7 platform.

Package Information

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/psutils

Installation of PSUtils

Install PSUtils by running the following commands:

sed 's@/usr/local@/usr@g' Makefile.unix > Makefile &&
make

This package does not come with a test suite.

Now, as the root user:

make install

Command Explanations

sed 's@/usr/local@/usr@g' Makefile.unix > Makefile: This command creates a Makefile that installs the program to the /usr prefix instead of the /usr/local prefix.

Contents

Installed Programs: epsffit, extractres, fixdlsrps, fixfmps, fixmacps, fixpsditps, fixpspps, fixscribeps, fixtpps, fixwfwps, fixwpps, fixwwps, getafm, includeres, psbook, psmerge, psnup, psresize, psselect, pstops, and showchar
Installed Libraries: None
Installed Directories: /usr/share/psutils

Sometimes psnup and other utilities from this package produce PostScript files that don't conform to Adobe's DSC standard. CUPS may print them incorrectly. On the other hand, CUPS has builtin replacements for most commands from this package. For example, to print a document 2-up, you can issue this command:

lp -o number-up=2 <filename>

Short Descriptions

epsffit

fits an EPSF file to a given bounding box.

extractres

is a filter to extract resources from a PostScript document.

fix*

are filters of different kinds of documents to work with PSUtils.

getafm

create an AFM file for a PostScript font.

includeres

is a filter to include resources in a PostScript document.

psbook

rearranges pages into signatures.

psmerge

is a filter to merge several PostScript files into one.

psnup

puts multiple pages per physical sheet of paper.

psresize

alters the document paper size.

psselect

selects pages and page ranges.

pstops

performs general page rearrangements and selection.

showchar

outputs PostScript to draw a character with metric info.

Last updated on 2015-08-18 23:16:04 +0000