10
10
To install ``pyppd``, you can use:
14
14
Or download the source package, uncompress, and run as root:
16
python setup.py install
16
# python setup.py install
18
18
It depends on Python 2.x (http://www.python.org) and XZ Utils
19
19
(http://tukaani.org/xz/).
25
25
be gzipped) you want to add in the archive inside a single folder (which can
26
26
have subfolders), then run:
28
pyppd /path/to/your/ppd/folder
28
$ pyppd /path/to/your/ppd/folder
30
30
It'll create ``pyppd-ppdfile`` in your current folder. You can test it by
33
$ ./pyppd-ppdfile list
35
35
And, for reading a PPD from the archive, simply do:
37
./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD
37
$ ./pyppd-ppdfile cat pyppd-ppdfile:MY-PPD-FILE.PPD
39
39
For CUPS to be able to use your newly-created archive, copy ``pyppd-ppdfile``
40
40
to ``/usr/lib/cups/driver/`` and you're done.
42
The generated ``pyppd-ppdfile`` can be arbitrarily renamed, so that more than
43
one packed repository can be installed on one system. This can be useful if
44
you need a better performance, be it in time or memory usage. Note that also
45
the PPD URIs will follow the new name:
47
$ ./pyppd-ppdfile list
49
pyppd-ppdfile:LasterStar/LaserStar-XX100.ppd
51
$ mv pyppd-ppdfile laserstar
55
laserstar:LaserStar/LaserStar-XX100.ppd
60
* **Till Kamppeter** - Original idea, mentoring and feedback. User #0.
62
* **Hin-Tak Leung** - Lots of technical suggestions.
64
* **Flávio Ribeiro** and **Diógenes Fernandes** - Refactorings and general Python's best practices tips.
66
* **Google's OSPO** - Initial funding at GSoC 2010.