[Kde-print-devel] [Bug 112536] kprinter fails to detect options for cups printer classes

Michael Goffioul kdeprint_bugs at swing.be
Tue Sep 20 09:25:33 CEST 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=112536         




------- Additional Comments From kdeprint_bugs swing be  2005-09-20 09:25 -------
Cristian, there's still something to check: as the reporter said, the lpoptions utility returns a set of driver option, which are actually taken from the PPD file of the first printer of the class. However, I'm not sure that kdeprint even asks CUPS for a PPD file in the case of a class, I think it's only in the case of a real printer...

Indeed, in kdelibs/kdeprint/cups/kmcupsmanager.cpp: loadPrinteDriver(), you see that the driver is not requested for a class. IMO, this is something that can be done as in plain CUPS.

Michael.


More information about the Kde-print-devel mailing list