A CUPS PostScript Printer Driver's compressor and generator
Project description
pyppd
=====
``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``, 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 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.
=====
``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``, 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 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
Release history Release notifications | RSS feed
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.1.1.tar.gz
(16.0 kB
view details)
File details
Details for the file pyppd-0.1.1.tar.gz
.
File metadata
- Download URL: pyppd-0.1.1.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffd6836d897fea2e79e145ac9803176a152a3991b165a45bdc4db5e69f00cb0a |
|
MD5 | faf009e44a1d15cb32336b5ae73e44de |
|
BLAKE2b-256 | 35db0cafb37ee7bb43b6414e0941b6e1f075f2bdeb9a6be67aeab9ae7187cebe |