Hi,

I have the same issue as well, on two different boxes (ubuntu 22.04)
with two different printers (HP & Samsung).

The printers show up in "system" settings. The Firefox snap is able to
print correctly, it is connected to cups-control (not cups as the
Chromium snap).

Here's the relevant outputs:


------------------------

user@box:~$ lpstat -v
device for HP_DeskJet_3630_series_91ACE7: 
implicitclass://HP_DeskJet_3630_series_91ACE7/
user@box:~$ lpstat -p
printer HP_DeskJet_3630_series_91ACE7 is idle.  enabled since Tue 12 Sep 2023 
09:50:24
user@box:~$ cups.lpstat -v
lpstat: No destinations added.
user@box:~$ cups.lpstat -p
lpstat: No destinations added.

user@box:~$ snap list | grep cups
cups                            2.4.6-4             980    latest/stable    
openprinting**  -

user@box:~$ 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            
 -

user@box:~$ snap connections chromium
Interface                 Plug                                    Slot          
                  Notes
audio-playback            chromium:audio-playback                 
:audio-playback                 -
audio-record              chromium:audio-record                   :audio-record 
                  -
bluez                     chromium:bluez                          :bluez        
                  -
browser-support           chromium:browser-sandbox                
:browser-support                -
camera                    chromium:camera                         :camera       
                  -
content                   chromium:foo-install-cups               -             
                  -
content[gnome-42-2204]    chromium:gnome-42-2204                  
gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]     chromium:gtk-3-themes                   
gtk-common-themes:gtk-3-themes  -
content[icon-themes]      chromium:icon-themes                    
gtk-common-themes:icon-themes   -
content[sound-themes]     chromium:sound-themes                   
gtk-common-themes:sound-themes  -
cups                      chromium:cups                           cups:cups     
                  -
desktop                   chromium:desktop                        :desktop      
                  -
desktop-legacy            chromium:desktop-legacy                 
:desktop-legacy                 -
gsettings                 chromium:gsettings                      :gsettings    
                  -
home                      chromium:home                           :home         
                  -
joystick                  chromium:joystick                       :joystick     
                  -
mount-observe             chromium:mount-observe                  -             
                  -
mpris                     -                                       
chromium:mpris                  -
network                   chromium:network                        :network      
                  -
network-bind              chromium:network-bind                   :network-bind 
                  -
network-manager           chromium:network-manager                -             
                  -
opengl                    chromium:opengl                         :opengl       
                  -
password-manager-service  chromium:password-manager-service       
:password-manager-service       manual
personal-files            chromium:chromium-config                
:personal-files                 -
raw-usb                   chromium:raw-usb                        -             
                  -
removable-media           chromium:removable-media                
:removable-media                -
screen-inhibit-control    chromium:screen-inhibit-control         
:screen-inhibit-control         -
system-files              chromium:etc-chromium-browser-policies  :system-files 
                  -
system-packages-doc       chromium:system-packages-doc            
:system-packages-doc            -
u2f-devices               chromium:u2f-devices                    :u2f-devices  
                  -
unity7                    chromium:unity7                         :unity7       
                  -
upower-observe            chromium:upower-observe                 
:upower-observe                 -
wayland                   chromium:wayland                        :wayland      
                  -
x11                       chromium:x11                            :x11          
                  -

user@box:~$ snap connections firefox
Interface               Plug                            Slot                    
        Notes
audio-playback          firefox:audio-playback          :audio-playback         
        -
audio-record            firefox:audio-record            :audio-record           
        -
avahi-observe           firefox:avahi-observe           :avahi-observe          
        -
browser-support         firefox:browser-sandbox         :browser-support        
        -
camera                  firefox:camera                  :camera                 
        -
content[gnome-42-2204]  firefox:gnome-42-2204           
gnome-42-2204:gnome-42-2204     -
content[gtk-3-themes]   firefox:gtk-3-themes            
gtk-common-themes:gtk-3-themes  -
content[icon-themes]    firefox:icon-themes             
gtk-common-themes:icon-themes   -
content[sound-themes]   firefox:sound-themes            
gtk-common-themes:sound-themes  -
cups-control            firefox:cups-control            :cups-control           
        -
dbus                    -                               firefox:dbus-daemon     
        -
desktop                 firefox:desktop                 :desktop                
        -
desktop-legacy          firefox:desktop-legacy          :desktop-legacy         
        -
gsettings               firefox:gsettings               :gsettings              
        -
hardware-observe        firefox:hardware-observe        :hardware-observe       
        -
home                    firefox:home                    :home                   
        -
joystick                firefox:joystick                :joystick               
        -
mount-control           firefox:host-hunspell           :mount-control          
        -
mpris                   -                               firefox:mpris           
        -
network                 firefox:network                 :network                
        -
network-bind            firefox:network-bind            :network-bind           
        -
network-observe         firefox:network-observe         -                       
        -
opengl                  firefox:opengl                  :opengl                 
        -
personal-files          firefox:dot-mozilla-firefox     :personal-files         
        -
removable-media         firefox:removable-media         :removable-media        
        -
screen-inhibit-control  firefox:screen-inhibit-control  :screen-inhibit-control 
        -
system-files            firefox:etc-firefox             :system-files           
        -
system-packages-doc     firefox:system-packages-doc     :system-packages-doc    
        -
u2f-devices             firefox:u2f-devices             :u2f-devices            
        -
unity7                  firefox:unity7                  :unity7                 
        -
upower-observe          firefox:upower-observe          :upower-observe         
        -
wayland                 firefox:wayland                 :wayland                
        -
x11                     firefox:x11                     :x11                    
        -


------------------------


I have setup native cups in the distant past in large enterprise
networks, but the snap plug-slot system is new to me. I'm happy to help
fix this. Please let me know if you need any further info or assistance.

Cheers

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

Title:
  Printer is not available in chromium snap

Status in chromium-browser package in Ubuntu:
  Confirmed
Status in cups package in Ubuntu:
  Confirmed

Bug description:
  My printer is not available in chromium. I had the same problem in firefox 
but fixed it with the following command:
    
    sudo snap connect firefox:cups-control

  However this did not work with the chromium snap. I got the following
  error:

    snap "chromium" has no plug named "cups-control"

  My printer is a network printer and is automatically detected by my
  Kubuntu install. It works out of the box with all native apps and
  flatpaks.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chromium-browser/+bug/2025526/+subscriptions


-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to