Comment 0 for bug 2054941

Revision history for this message
Erik Dlhy (dlhy) wrote :

Firefox from snap prints OK, but not Chromium. Interesting thing is that printer is visible, but printout is never coming from the printer, if it is printed from Chromium. here are some outputs which could be useful

$ cups.lpstat -p
printer HP_LaserJet_Professional_M1132_MFP is idle. enabled since Sun Feb 25 21:20:34 2024
 Could not create job on the system's CUPS daemon - No such file or directory

$ lpstat -v
device for HP_LaserJet_Professional_M1132_MFP: hp:/usb/HP_LaserJet_Professional_M1132_MFP?serial=000000000XXXXXXX

$ cups.lpstat -p
printer HP_LaserJet_Professional_M1132_MFP is idle. enabled since Sun Feb 25 21:23:45 2024
 Could not create job on the system's CUPS daemon - No such file or directory

$ snap list | grep cups
cups 2.4.7-3 1024 latest/stable openprinting** -

$ snap connections cups
Interface Plug Slot Notes
avahi-control cups:avahi-control :avahi-control -
cups chromium:cups cups:cups -
cups-control - cups:cups-control -
cups-control cups:cups-host :cups-control -
home cups:home :home -
network cups:network :network -
network-bind cups:network-bind :network-bind -
network-manager-observe cups:network-manager-observe :network-manager-observe -
raw-usb cups:raw-usb :raw-usb -
system-files cups:etc-cups :system-files -

$ ps aux | grep cups-proxyd
root 7618 0.0 0.1 241736 3300 ? Sl 19:59 0:01 cups-proxyd /var/snap/cups/common/run/cups.sock /var/run/cups/cups.sock -l --logdir /var/snap/cups/1024/var/log

This is interesting part of log from /var/log/cups/error_log:
E [25/Feb/2024:19:52:33 +0100] [Client 168] Returning IPP client-error-not-possible for CUPS-Create-Local-Printer (ipp://localhost/) from localhost.
W [25/Feb/2024:20:55:05 +0100] Notifier for subscription 502 (dbus://) went away, retrying!
W [25/Feb/2024:20:55:05 +0100] Notifier for subscription 503 (dbus://) went away, retrying!
W [25/Feb/2024:20:55:05 +0100] Notifier for subscription 505 (dbus://) went away, retrying!

W [25/Feb/2024:20:55:05 +0100] Printer drivers are deprecated and will stop working in a future version of CUPS. See https://github.com/OpenPrinting/cups/issues/103