PSUtils-p17

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 50. PostScript

- Prev

  Enscript-1.6.6

- Next

  ePDFView-0.1.8

- Up
- Home

# 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-8.4 platform.

### Package Information

- Download (HTTP): http://pkgs.fedoraproject.org/repo/pkgs/psutils/psutils-p17.tar.gz/b161522f3bd1507655326afa7db4a0ad/psutils-p17.tar.gz

- Download MD5 sum: b161522f3bd1507655326afa7db4a0ad

- Download size: 68 KB

- Estimated disk space required: 740 KB

- Estimated build time: less than 0.1 SBU

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 2019-02-18 12:44:04 -0600

- Prev

  Enscript-1.6.6

- Next

  ePDFView-0.1.8

- Up
- Home