Network printer not discovered by system-config-printer
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Network printer not discovered by system-config-printer
I am unable to see my network printer with the system-config-printer applet. CUPS and avahi are running. The avahi browser sees the printer. The CUPS web page sees the printer.
When I manually type the static IP address the applet sees the printer.
Same results on 14.0 and 14.1. I tested system-config-printer in two other distros and they find the printer immediately.
I may be wrong, but I think system-config-[something or other] is a Red Hat thing. Unfortunately, I'm not near my Slackware machine to test the command.
I always use CUPS to setup, configure my printers. I just tried using system-config-printer as root (and as normal user) and it comes up with a GUI Printer Settings window in KDE with my printer already configured.
Thanks for the responses. I am not looking for alternate solutions or work-arounds. I want to know why system-config-printer in Slackware does not see my network printer while the applet works fine in other distros. In the other distros, the moment I select the Network Printers option the printer appears. Not so in Slackware.
The file 70_printers.rules in the source package system-config-printer-1.4.3 grabbed from a Debian repository contains following rules:
The rule set is not the same as those in the stock Slackware. As you mentioned, they are for USB printers and not network. Substituting the Debian rules in 14.1 made no difference.
Quote:
Did you see interesting messages during compilation?
No compiling. I am using the package as-is from the stock Slackware (l group).
Quote:
Did you see something interesting in the logs?
Nothing.
Edit: I rebuilt the package with avahi installed, thinking there might be a missing hook, but that made no difference. Still did not see the network printer.
Network printers go through CUPS and the network-config-printer utility. The system-config-printer is designed, as Didier pointed out, to target Parallel, USB, SCSI, and Serial ports only.
For those who need it ask... Network printers operate differently than local printers mostly due to the fact a network printer is designed to be a resource rather than an attached device. It attaches as a service resource over an IP and although it uses the same driver stack, it's how it attaches to the system that sees how the utilities used see it.
You should only need to use CUPS' intranet configuration and resource access utilities for a network print device. Webmin works well also.
I have tested system-config-printer with hp photosmart c6180 on slack-current, and it work here, my printer, is configured with an IP fix, hplip, is installed,
the cups and snmpd daemon are actived, i have used the search fonction with IP printer on system-config-printer.
The system-config-printer is designed, as Didier pointed out, to target Parallel, USB, SCSI, and Serial ports only.
The applet finds network printers in other distros.
Quote:
You should only need to use CUPS' intranet configuration and resource access utilities for a network print device. Webmin works well also.
Please read comment #5. I am not interested in work-arounds. I want to know why the applet does not work in Slackware.
Quote:
my printer, is configured with an IP fix, hplip, is installed,
I have hplip installed. What do you mean by 'an IP fix'?
Quote:
the cups and snmpd daemon are actived
I have CUPS running but not snmpd. The latter is not running in the other distros either. Starting the daemon in Slackware made no difference. I don't think snmpd is a requirement. I thought perhaps avahi was needed but enabling avahi in Slackware did not help. As I mentioned in my original post, the avahi browser sees the printer and the CUPS web page sees the printer. In the other distros my printer appears immediately in the applet list. There is something else missing in Slackware or in my setup.
Technically you could argue that using system-config-printing is a workaround for CUPS also, but that's not the case.
To better diagnose why it's not detecting Woodsman, you may want to do a dependency trace and go back through all the dependencies and see if secondary dependencies are met properly.
Let start with these as a package trace. Do you have any of the following:
Usually some packages in Slackware aren't always built with an optional dependency in the tree for whatever the reason including compatibility, performance, lack of package, etc. You may have to go deeper into the dependency tree and find out what might be missing and then rebuild those packages to add that functionality.
And yes this is a Red Hat package, and from reading up on it, it has a history of issues and some ongoing problems outside that fact. It seems some distributions and people can't get it work properly.
Ah, ok. I assigned a static IP to my printer too. As I mentioned previously, the applet finds the printer right away when I manually type the IP address. Just not automatically like in the other distros.
Quote:
Let start with these as a package trace. Do you have any of the following:
None of those packages are available by that name in Slackware. Pat seldom breaks packages into small packages like the Debian folks. So the question then becomes whether Pat builds the parent packages with the equivalent configuration options. Specific to this thread, probably not.
Quote:
And yes this is a Red Hat package, and from reading up on it, it has a history of issues and some ongoing problems outside that fact. It seems some distributions and people can't get it work properly.
Not relevant to this thread. I already mentioned the applet works as expected in the other distros.
Then maybe that's the answer... Research the package configurations and then see if the trace back through the dependencies and see if something isn't resolved.
Plus even if you see Debian and others break down packages, you can always see the package content and research exactly what source package it comes from, see if a SlackBuild exists, add it, and rebuild the system-config-printer package against anything else in the dependency list.
If it's worth asking... Which desktop system are you using, as system-config-printer is by nature, a GNOME package.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.