Comment 8 for bug 59409

Revision history for this message
Till Kamppeter (till-kamppeter) wrote :

Aaron, the problem is the following:

If CUPS is asked for listing PPDs ("lpinfo -m" or equivalent IPP call), the returned paths are not necessarily real file system paths. They are more to understand as PPD URIs. To get safely any arbitrary PPD CUPS reports to you, you have to ask CUPS to give you the PPD. either by using "lpadmin" with the "-m" option and exactly the PPD URI as listed by "lpinfo -m" or by polling the PPD from CUPS via an appropriate IPP call. See the code of system-config-printer (in Ubuntu and Fedora) for a possible Python implementation.