Comment 15 for bug 1813825

Revision history for this message
Christian González (droetker) wrote :

I deleted all printers and waited for CUPS / driverless to find them again.
Here a few CLI outputs (which are small enough so I dare to spost them inline )

$ ls -1 /etc/cups/ppd/
Kyocera_ECOSYS_P6026cdn.ppd
Kyocera-ECOSYS-P6026cdn.ppd
Kyocera_ECOSYS_P6026cdn.ppd.O
Kyocera-ECOSYS-P6026cdn.ppd.O

$ sudo systemctl stop cups-browsed
$ ls -1 /etc/cups/ppd/
Kyocera-ECOSYS-P6026cdn.ppd
Kyocera-ECOSYS-P6026cdn.ppd.O

$ sudo systemctl stop cups-browsed

I see 2 in the GUI, why there are 4 files here - I don't know why.
Seems that cups-browsed adds the "_" separated files

$ lp -d Kyocera-ECOSYS-P6026cdn ~/.bashrc
Anfrage-ID ist Kyocera-ECOSYS-P6026cdn-52 (1 Datei(en))

$ sudo cupstestppd /etc/cups/ppd/Kyocera-ECOSYS-P6026cdn.ppd
/etc/cups/ppd/Kyocera-ECOSYS-P6026cdn.ppd: FAIL
      **FAIL** Missing choice *Option18 SDCard in UIConstraints "*KCCollate CustomBox *Option18 SDCard".
      **FAIL** Missing choice *Option18 SDCard in UIConstraints "*Option18 SDCard *KCCollate CustomBox".
        WARN Datei einthält gemischt CR, LF, und CR LF Zeilenmenden.
        WARN Size "A5" should be "149x210mm".
        WARN Size "A6" should be "105x149mm".
        WARN Size "B6" should be "128x182mm".
        WARN Size "OficioII" should be the Adobe standard name "FanFoldGermanLegal".
        WARN Size "P16K" should be "7,75x10,75".
        WARN Size "OficioMX" should be the Adobe standard name "Oficio".

$ lpstat -e
Kyocera-ECOSYS-P6026cdn

$ lpstat -v
Gerät für Kyocera-ECOSYS-P6026cdn: dnssd://Kyocera%20ECOSYS%20P6026cdn._ipp._tcp.local/?uuid=4509a320-003a-00ad-0042-0025074ef136

$ driverless
ipp://KM15881D.local:631/ipp/print

But where is the "get-printer-attributes-2.0.test" file - I cant find this file.

$ ipptool -tv ipp://KM15881D.local:631/ipp/print get-printer-attributes-2.0.test > ~/attrs.txt
ipptool: Unable to open test file get-printer-attributes-2.0.test - No such file or directory

It seems so confusing to me as there are no reliable on/offs: sometimes the files are available, sometimes not.
Maybe this outputs help a bit. Hope you see something in there.