(fwd) Please add new PPD/driver directories for LSB 3.2 to your distribution
In case someone was not addressed directly.
----- Forwarded message from Till Kamppeter <till.kamppeter@gmail.com> -----
From: Till Kamppeter <till.kamppeter@gmail.com>
To: Martin Pitt <martin.pitt@ubuntu.com>, Johannes Meixner <jsmeix@suse.de>,
Tim Waugh <twaugh@redhat.com>, Kenshi Muto <kmuto@debian.org>,
Henrique de Moraes Holschuh <hmh@debian.org>,
Matthias Klose <doko@ubuntu.com>
CC: 'Ian Murdock' <imurdock@imurdock.com>, Matt Zimmerman <mdz@ubuntu.com>
Subject: Please add new PPD/driver directories for LSB 3.2 to your distribution
Date: Tue, 23 Jan 2007 18:50:12 +0000
Hi,
on the last Printing Summit [1] we have worked out printing requirements
for LSB 3.2 [2]. One of these requirements are standard locations for
printer drivers and PPDs [3]. This requirement is the only one not
fulfilled yet by the distributions, but as it can be fulfilled by a
simple update, this requirement can be fulfilled by the ditributions
easily before LSB 3.2 gets released. Therefore I ask you to supply this
update for your current released versions, especially also the
enterprise editions of your distributions.
The changes which have to be done are the following:
1. Create directories
mkdir -p /usr/share/ppd (not needed in Ubuntu)
mkdir -p /opt/share/ppd
mkdir -p /usr/local/share/ppd
mkdir -p /usr/lib/printdriver
mkdir -p /opt/lib/printdriver
mkdir -p /usr/local/lib/printdriver
2, Set symlinks for CUPS to find the PPDs:
Ubuntu:
ln -s /usr/local/share/ppd /usr/share/ppd/1-local-admin
ln -s /opt/share/ppd /usr/share/ppd/2-third-party
Other distributions:
ln -s /usr/local/share/ppd /usr/share/cups/model/1-local-admin
ln -s /opt/share/ppd /usr/share/cups/model/2-third-party
ln -s /usr/share/ppd /usr/share/cups/model/3-distribution
These serves for CUPS finding the PPDs in the standardized directories.
The numbers in the link names make the PPDs being listed in the right
order, so that when the printer setup tool marks the first suitable PPD
by default, the precedence rules are fulfilled.
The precedence rules are only for the selection of the PPD when setting
up a new print queue or changing the driver of an existing queue.
Nothing will be done on existing queues by simply installing a driver.
The user chooses the PPD in the printer setup tool, where the one with
highest precedence is pre-selected, but the others can be chosen manually.
There is nothing needed to find the driver directories, they are found
by using absolute paths to the driver binaries.
Driver packages coming with the disttro can be changed to use
/usr/share/ppd and /usr/lib/printdriver, but this is not required. The
new directories are to give a standard location so that
distribution-independent driver packaging gets possible.
The changes could be implemented in the CUPS package for example.
Till
----- End forwarded message -----
--
"One disk to rule them all, One disk to find them. One disk to bring
them all and in the darkness grind them. In the Land of Redmond
where the shadows lie." -- The Silicon Valley Tarot
Henrique Holschuh
Reply to: