Description of problem: Both in Cauldron and just tried with fresh install from Mageia 9 Alpha1 ISO - when trying to install a printer for the first time in MCC - it installs many packages including task-printing and system-config-printer When started, I try to add a new printer - and it shows no printers found (see attached pic) - Same machine under Linux mint finds automagically the IPP printer I have (UTax 357ci) which is a Kyocera OEM network multi-function device Version-Release number of selected component (if applicable): system-config-printer-1.5.18-1.mga9 How reproducible: Everytime also with fresh install of OS - Mageia 9 Alpha1 Steps to Reproduce: 1. Install OS - go to MCC / Hardware and add Printer 2. Installs other packages like task printing 3. Try to add a printer but nothing is found on the network
Created attachment 13531 [details] Screenshot of adding a new printer in system-config-printer Screenshot of adding a new printer in system-config-printer
Did you follow the official documentation how to setup a network printer? You need the IP-adress of the printer and add it to the required input field: https://doc.mageia.org/mcc/8/en/content/mcc-hardware.html#network_printer
I can add the printer manually by putting in the IP - but before it worked by automagically finding it on the network and offering it as a choice (this happens in Linux Mint and in Mageia 8) - I have two Cauldron installs which seem to work automatically - so when I choose "add printer" it scans a bit and offers my printer as advertised!! When you click on "find a network printer" it should find one!!! Linux Mint finds my printer automatically without me having to do anything!
I wondered from your screenshot whether you had clicked 'Internet Printing Protocol (ipp)' in the 'Find Network Printer' list. And if you do - what is the result? I agree this is not 'automagic', but seems the logical thing to do with the dialogue presented.
CC: (none) => lewyssmith
If you look at the screenshot - there is a dropdown arrow on "Network Printer" and then again on "Fond Network Printer" - if I click on that arrow - the arrow rotates but nothing else happens (before it would search for a network device and display what it finds) - If i click on ipp or ipps, it asks me "Enter the device URI" . . .
Have you ensured shorewall isn't blocking the printer? Quick way to ensure it isn't shorwall. Add the following lines to /etc/shorewall/rules.drakx and restart shorwall ... ACCEPT net:10.0.0.0/8 fw ACCEPT net:169.254.0.0/16 fw ACCEPT net:172.16.0.0/12 fw ACCEPT net:192.168.0.0/16 fw
CC: (none) => davidwhodgins
I thought of that and actually turned off the firewall using MCC and drakfirewall - "allow all - no firewall" using the GUI - I will try your suggestion but I thought shorewall is turned off when I do it through the GUI ?!?
I strongly dislike drakfirewall. Running it will remove anything it doesn't recognize such as the lines in comment 6, so don't use it much, except when testing new installations. I'm not sure whether it runs "shorewall stop" which blocks all incoming connections, or if it runs "shorewall clear" which allows all connections. Please either run "shorewall clear" which allows everyone on the internet to connect to your compuer, or try comment 6 which allows all traffic from withing your lan, no matter which subnet the network interface is configured to use.
I tried both suggestions - but it didn't change anything. I ran the "shorewall stop" command to completely eliminate the firewall - but system-config.printer still doesn't find any advertised printers - Same machine, same network - from Linux Mint it finds the printer . . . Here's the output from the console: [rfox@FoxLT5 ~]$ sudo system-config-printer /usr/share/system-config-printer/system-config-printer.py:325: DeprecationWarning: Gtk.ActionGroup.list_actions is deprecated for action in printer_manager_action_group.list_actions (): /usr/share/system-config-printer/system-config-printer.py:326: DeprecationWarning: Gtk.Action.set_sensitive is deprecated action.set_sensitive (False) /usr/share/system-config-printer/system-config-printer.py:334: DeprecationWarning: Gtk.ActionGroup.get_action is deprecated act = printer_manager_action_group.get_action (action) /usr/share/system-config-printer/system-config-printer.py:364: DeprecationWarning: Gtk.UIManager.ensure_update is deprecated self.ui_manager.ensure_update () /usr/share/system-config-printer/system-config-printer.py:365: DeprecationWarning: Gtk.UIManager.get_accel_group is deprecated self.PrintersWindow.add_accel_group (self.ui_manager.get_accel_group ()) /usr/share/system-config-printer/system-config-printer.py:374: DeprecationWarning: Gtk.UIManager.get_action is deprecated action = self.ui_manager.get_action ("/new-printer") /usr/share/system-config-printer/system-config-printer.py:375: DeprecationWarning: Gtk.Action.create_menu_item is deprecated newprinteritem = action.create_menu_item () /usr/share/system-config-printer/system-config-printer.py:683: DeprecationWarning: Gtk.Action.get_proxies is deprecated for widget in action.get_proxies (): task-printing-server-2018-7.mga9 task-printing-hp-2018-7.mga9 /usr/share/system-config-printer/system-config-printer.py:2264: DeprecationWarning: Gdk.threads_enter is deprecated Gdk.threads_enter ()
See comment#8. You need "shorewall clear" to completely shut down shorewall. "stop" won't cut it.
CC: (none) => ftg
I did both stop and clear - didn't seem to help ?!? Maybe I should try a fresh install and see what happens . . .
Created attachment 13536 [details] Attached a shot from Linux Mint running system-config-printer - showing it finds my network printer automatically Attached a shot from Linux Mint running system-config-printer - showing it finds my network printer automatically
Did a completely fresh install using Mageia 9 Alpha1 ISO - same behviour (out of the box) - no printer is found automatically - FYI
s-c-p has needed some love for a while now. See https://bugs.mageia.org/show_bug.cgi?id=30398
Sad but true . . . but why does this work well in Linux Mint?? They also use s-c-p ?!?
Thank you Robert for all your lengthy trials. > before it worked by automagically finding it on the network and > offering it as a choice (this happens in Linux Mint and in Mageia 8) This is clear enough; but this: > I have two Cauldron installs which seem to work automatically - so when I > choose "add printer" it scans a bit and offers my printer as advertised! > When you click on "find a network printer" it should find one is confusing. Assume it repeats the not-shown problem. This package has had various maintainers, so assigning this bug globally.
Summary: system-config-printer doesn't find a network printer (ipp or jetdirect) => system-config-printer doesn't find a network printer (ipp or jetdirect); used to work on M8.Assignee: bugsquad => pkg-bugsCC: lewyssmith => (none)