Skip to main content

PDF and PostScript Utilities

Web site: https://github.com/rrthomas/psutils
Maintainer: Reuben Thomas rrt@sc3d.org

PSUtils is a suite of utilities for manipulating PDF and PostScript documents. You can select and rearrange pages, including arrangement into signatures for booklet printing, combine multple pages into a single page for n-up printing, and resize, flip and rotate pages.

PSUtils is distributed under the GNU General Public License version 3, or, at your option, any later version; see the file COPYING. (Some of the input files in the tests directory are not under this license; see the file COPYRIGHT in that directory.)

If you simply want to use PSUtils, you will find it in most GNU/Linux distributions; it is available in brew for macOS and Cygwin for Windows.

PostScript files should conform to the PostScript Document Structuring Conventions (DSC); however, PSUtils intentionally does not check this, as some programs produce non-conforming output that can be successfully processed anyway. If PSUtils does not work for you, check whether your software needs to be configured to produce DSC-conformant PostScript.

Installation

The easiest way to install PSUtils is from PyPI, the Python Package Index:

pipx install psutils

(You may first need to install pipx.)

PSUtils requires libpaper, which allows named paper sizes to be used and configured:

libpaper: https://github.com/rrthomas/libpaper

Unfortunately, pipx cannot install libpaper for you, but you might be able to install it with brew or from other package managers. Otherwise, you can install libpaper from source (see the link above).

Installation from source or git

PSUtils requires Python 3.12 or later, a handful of Python libraries (listed in pyproject.toml, and automatically installed by the build procedure).

In the source directory: make build (requires the build Python package to be installed).

Note that to use the scripts before installing them, you need to run them as Python modules; for example:

PYTHONPATH=. python -m psutils.command.psnup -2 foo.ps

Bugs

Please send bug reports, patches and suggestions to the bug tracker or maintainer (see the top of this file).

Acknowledgements

PSUtils is written and maintained by Reuben Thomas. Version 1 was written by Angus Duggan.

psselect in modeled on Chris Torek's dviselect, as is psbook, via Angus Duggan's dvibook; pstops is modeled on Tom Rokicki's dvidvi. psjoin was originally written by Tom Sato.

Metadata

Release files for psutils 3.3.17

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for psutils 3.3.17
File Size Uploaded
psutils-3.3.17.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for psutils 3.3.17
File Interpreter ABI Platform
psutils-3.3.17-py3-none-any.whl Python 3 none any Details

Total release size: 1.3 MB

Release files / psutils-3.3.17.tar.gz

Download URL psutils-3.3.17.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
3ff76cc9f9fb535ec553d1591de56d6dbaa0d9f4df86778f6a49731ebd764cdf
BLAKE2b-256 checksum
How to use checksums
a06b735ab226ab8e2ee6b99182312c7346a2e4bd3e825cfdf127f22ce75e853f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release files / psutils-3.3.17-py3-none-any.whl

Download URL psutils-3.3.17-py3-none-any.whl
Size 55.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
de0289f2eac5966c2481a02cfa6eed0dc0f8e67115356eb44dbab429610f5970
BLAKE2b-256 checksum
How to use checksums
96c684c07085ebc0130e1bc7f1957e10ad42ea53f2f65177e107a5c76323b78c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

3.3.17 This release

2 release files

3.3.15

2 release files

3.3.12

2 release files

3.3.10

2 release files

3.3.9

2 release files

3.3.8

2 release files

3.3.7

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page