Skip to main content

A CUPS PostScript Printer Driver's compressor and generator

Project description

pyppd is a CUPS PPD generator. It holds an compressed archive of PPDs, which can be listed and retrieved only when needed by CUPS, saving disk space.

Instalation

To install pyppd, you can use:

pip install pyppd

Or download the source package, uncompress, and run as root:

python setup.py install

It depends on Python 2.x (http://www.python.org) and XZ Utils (http://tukaani.org/xz/).

Usage

At first, you have to create a PPD archive. For such, put all PPDs (they might be gzipped) you want to add in the archive inside a single folder (which can have subfolders), then run:

pyppd /path/to/your/ppd/folder

It’ll create pyppd-ppdfile in your current folder. You can test it by running:

./pyppd-ppdfile list

And, for reading a PPD from the archive, simply do:

./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD

For CUPS to be able to use your newly-created archive, copy pyppd-ppdfile to /usr/lib/cups/driver/ and you’re done.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyppd-0.4.4.tar.gz (22.5 kB view details)

Uploaded Source

File details

Details for the file pyppd-0.4.4.tar.gz.

File metadata

  • Download URL: pyppd-0.4.4.tar.gz
  • Upload date:
  • Size: 22.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyppd-0.4.4.tar.gz
Algorithm Hash digest
SHA256 ecb756b968ee7c49a8333c8650887e5bc72e5c82ce0dcf9c8fa64b2810126810
MD5 9cd01bcdf8faa15a9f9bf80769be2dd8
BLAKE2b-256 c2590b9147cbd74b992728a47b65146854038217c8d56ddf3566a7220cb3ec8d

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page