Полезная информация

UNIX Power Tools

UNIX Power ToolsSearch this book
Previous: 43.23 psselect: Print Some Pages from a PostScript fileChapter 43
Next: 43.25 The Portable Bitmap Package

43.24 Other PostScript Utilities

Angus Duggan's PSUtils package contains several interesting tools in addition to psselect (43.23). They're a bit more esoteric, but they can be very useful in some situations: for example, if you're printing a brochure or a bulletin, these tools help to automate the task. We'll only summarize them quickly; you can look at Angus's manual pages for detailed information.

Fits an EPSF file -capsulated PostScript) to a given bounding box. epsffit can center the image, rotate it, adjust the aspect ratio, and add showpage to make it print.


Extracts resources (fonts, procsets, patterns, files, etc.) from a PostScript document into separate files, replacing them with appropriate %%IncludeResource comments in the document prologue. This makes it safe to rearrange the document with psnup or pstops.


Includes resources (fonts, procsets, patterns, files, etc.) indicated by the %%IncludeResource comments in a PostScript document. (See extractres above.)


Rearranges files in a PostScript document into "signatures"; that is, rearranges pages so that folding them "naturally" will result in a book or pamphlet.


Merges PostScript documents into a single document. It only works in specific cases: documents created by the same application, with the same device setup and resources loaded.


Rearranges a PostScript document so that it prints several pages on each sheet of paper, scaling and orienting the pages appropriately for a booklet. Together with psbook, psnup makes production of a booklet (or even a moderate-sized book) relatively easy.

As with psbook, you may need a preprocessor like fixfmps (43.23) to put the PostScript file into an acceptable form.


Rescales and centers a document on a different size of paper. For example, it converts an American letter-size document to A4 size paper.


A general utility for rearranging pages in a PostScript document. You can select individual pages, put several pages on an individual page with different orientations, and so on.

- JP, ML, AD

Previous: 43.23 psselect: Print Some Pages from a PostScript fileUNIX Power ToolsNext: 43.25 The Portable Bitmap Package
43.23 psselect: Print Some Pages from a PostScript fileBook Index43.25 The Portable Bitmap Package

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System