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.

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gnome-control-center in Ubuntu.
https://bugs.launchpad.net/bugs/1813825

Title:
  "driverless" printer workflow has bad usability/ is partly broken

Status in gnome-control-center package in Ubuntu:
  Incomplete

Bug description:
  Hi,
  since Ubuntu uses IPP ("driverless") printing, I have a bad time using 
printers. I don't know exactly which package this bug belongs to, I think it is 
gnome-control-center.

  I have a Kyocera EcosysP6026cdn network printer, which provides a PPD
  file by the manufacturer. (But I tested this behaviour as well with
  other printers from eg. Brother, etc., and on Debian and Arch linux
  too). When I switch on the printer, after a few seconds, it is found
  in Ubuntu and installed automatically as "Kyocera_ECOSYS_P6026cdn". So
  far, so good.

  1) I can't remove this printer. If I WANT to install it using another
  protocol (dnss etc), it adds another printer, and I have 2 Printers.
  So it should be easy to switch off "driverless" printing.

  2) Using it as "Default printer" does not work. Clicking the cog
  wheel, and using the menu item "Use printer by default" is clickable,
  but it does not save any setting: "printers-cc-panel-WARNING **:
  20:45:36.812: cups-pk-helper: setting default printer to
  Kyocera_ECOSYS_P6026cdn failed: client-error-not-found"

  3) "Printing Options" opens an empty dialog, see screenshot attached.
  This dialog is useless.

  4) The "Printer Detail" dialog shows a "null" address and links to
  "(null):631", which is a 404.

  I think this "driverless" printing is still in a very "unstable" state. It 
helps discovering printers in new Networks where I attach too with my laptop, 
and I can print there basically, But most of the day I use my own printer in my 
office or at home, and I want to have my special settings for exact this 
printer with color profile, duplex settings etc.
  And this all is not possible with driverless printing.

  So, if you don't "fix" all the not-working options in the UI, please
  at least give us an option to easily switch off driverless printing at
  all. I really prefer the "old school" way of installing printers.

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: gnome-control-center 1:3.28.2-0ubuntu0.18.04.2
  ProcVersionSignature: Ubuntu 4.15.0-43.46-generic 4.15.18
  Uname: Linux 4.15.0-43-generic x86_64
  ApportVersion: 2.20.9-0ubuntu7.5
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Tue Jan 29 19:34:39 2019
  InstallationDate: Installed on 2019-01-27 (1 days ago)
  InstallationMedia: Ubuntu 18.04.1 LTS "Bionic Beaver" - Release amd64 
(20180725)
  SourcePackage: gnome-control-center
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1813825/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to