Comment 9 for bug 1813825

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

First, driverless printers (automatically created queues for IPP printers) can be generated by cups-browsed and by CUPS.

So as a first approach you could try to stop cups-browsed to see whether you still get auto-created printers or not.

sudo systemctl stop cups-browsed

stops cu[ps-browsed and

sudo systemctl start cups-browsed

starts it again. Please tell whether this makes the auto-created printer go away or whether it changes its behavior to the better or to the worse.

Another point to investigate is the PPD file (/etc/cups/ppd/<queue name>.ppd) of the auto-created printer. If it is not present or broken, the GUI can misbehave. The PPD files are automatically generated based on information polled from the printer via IPP. The IPP 2.x standards require that the printer provides sufficient information.

Print queues auto-created by cups-browsed are full-featured CUPS queues and are present all the time while the printer is turned on and cups-browsed is running. So they have a PPD file all the time.

Print queues auto-created by CUPS do only temporarily appear. They are created when a job is printed and they stay only for 1 minute after the job finishes. These queues are created purely by CUPS, cups-browsed does not need to be running.

So check the presence of

/etc/cups/ppd/Kyocera_ECOSYS_P6026cdn.ppd

Does it exist? Please attach it.

If it does not exist, run following command:

lp -d Kyocera_ECOSYS_P6026cdn ~/,bashrc

and post the screen output here. Does the job get printed?

Then immediately check the presence of

/etc/cups/ppd/Kyocera_ECOSYS_P6026cdn.ppd

Does it exist? Please attach it.

You can also check by yourself:

sudo cupstestppd /etc/cups/ppd/Kyocera_ECOSYS_P6026cdn.ppd

Does this give any FAILs? Please post the output here.

You can also display the options defined by a printer's PPD file via

lpoptions -p Kyocera_ECOSYS_P6026cdn -l

If the queue is a temporarily auto-created queue from CUPS you most probably will need to run this command within 1 minute after printing.

You can list queues which CUPS would auto-generate on-demand via

lpstat -e

The queues listed here but not listed by

lpstat -v

are queues which CUPS creates on-demand.

A problem is that the GUIs often do not fully support such temporary, on-demand queues. Therefore we keep cups-browsed on Ubuntu so that we get permanent auto-generated queues.

Please also run the following command (printer must be turned on):

driverless

This will give you the printer's IPP URI as output. Please post it here.

ipptool -tv <URI> get-printer-attributes-2.0.test > attrs.txt

Replace <URI> by the URI you obtained with the "driverless" command and attach the output file, attrs.txt to this bug report. This is the information which gets polled from the printer to auto-generate the PPD file.

Please do not compress and do not package together any of the files we ask you to attach. Please attch them one-by-one, so that one can easily read them out of the browser when reading this bug report. Thanks.