LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-29-2014, 09:13 PM   #16
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546

Quote:
Research the package configurations and then see if the trace back through the dependencies and see if something isn't resolved.
The system-config-printer tool detects my network printer in Salix Mate. I have no idea what is different in my Slackware systems, whether configuration, missing packages, or PEBKAC.
 
Old 06-30-2014, 12:05 AM   #17
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,614

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
many distro use cups-pk-helper, maybe it's the solution.

http://www.freedesktop.org/wiki/Soft...ups-pk-helper/
 
Old 06-30-2014, 12:28 AM   #18
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
Blog Entries: 15

Rep: Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105
Mate's dependency list may reveal an answer, but otherwise because Mate is technically still an unofficial package, getting an answer is going to be hit or miss. I would suggest rebuilding system-config-printer with cups-pk-helper, but you may want to ask the Mate developers for more information before you proceed. If this was a SBo package, you might get a better answer.

The only valid suggestion, even if it's not wanted, I can give is use the CUPS intranet configuration, or, if your network printer is an HP, is to use the hplip driver and utility pack.

Sorry bro.
 
Old 06-30-2014, 01:05 AM   #19
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,614

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
try this package:

http://download.zenwalk.org/people/g...x86_64-1gm.txz

http://download.zenwalk.org/people/g...5-i486-1gm.txz
 
Old 06-30-2014, 03:40 PM   #20
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
The only valid suggestion, even if it's not wanted, I can give is use the CUPS intranet configuration, or, if your network printer is an HP, is to use the hplip driver and utility pack.
I am not interested in configuring the printer. I can do that manually. I already have. I ONLY want to know why system-config-printer does not work in Slackware.

Quote:
try this package:
I tested. Same results. I restarted CUPs but did not test with a full reboot.

Edit: A full reboot made no difference. Looks like there are more elements to this.

Last edited by Woodsman; 06-30-2014 at 03:54 PM.
 
Old 07-01-2014, 03:14 AM   #21
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
Blog Entries: 15

Rep: Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105
Quote:
Originally Posted by Woodsman View Post
I am not interested in configuring the printer. I can do that manually. I already have. I ONLY want to know why system-config-printer does not work in Slackware.


I tested. Same results. I restarted CUPs but did not test with a full reboot.

Edit: A full reboot made no difference. Looks like there are more elements to this.
It could be an unresolved dependency or co-dependency somewhere back in the chain. That's all I can think of. Because system-config-printer is mostly a GNOME package, it may have some unresolved dependency in GNOME libraries that Slackware doesn't or can't cover by design.
 
Old 07-01-2014, 10:16 AM   #22
frankiej
LQ Newbie
 
Registered: Feb 2013
Distribution: Fedora
Posts: 29

Rep: Reputation: 24
I use a simple iptables setup on my Slackware machine. In doing so, I have to shut it off to have system-config-printer see my printer on the network. Once I do that, it sees it, I configure it, and then I turn the firewall back on (this is all on my personal laptop in my home so I am not bothered by the step). I know when I do the same thing in Fedora it prompts me asking me if I am OK with the firewall rules be adjusted to be able to configure the printers. I assume it is opening up some communication that would normally be blocked.

I just never bothered looking into what was exactly being blocked or opened to say for certain. Sorry.
 
Old 07-01-2014, 12:30 PM   #23
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
It could be an unresolved dependency or co-dependency somewhere back in the chain.
Likely the case --- the other distros are GTK-centric.

Quote:
I have to shut it off to have system-config-printer see my printer on the network.
I allow all traffic on the local subnet, which includes the printer. Nonetheless, I tested disabling the iptables firewall and system-config-printer still did not discover the printer.
 
Old 07-01-2014, 12:47 PM   #24
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,563
Blog Entries: 15

Rep: Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105Reputation: 2105
Question, but do you have any other printers you can test it against, as well as any other desktop environments?

Since it too is GTK based, does Xfce's configuration tools detect it?
 
Old 07-01-2014, 01:17 PM   #25
EYo
Member
 
Registered: Jun 2009
Distribution: Slackware
Posts: 190

Rep: Reputation: 153Reputation: 153
Quote:
Originally Posted by Woodsman View Post
I am unable to see my network printer with the system-config-printer applet.
...
Any ideas?
$ system-config-printer --debug
 
Old 07-01-2014, 01:37 PM   #26
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
No other printers to test.

I do not see anything specific in Xfce to test the printer.

The avahi browser sees the printer. I again tested the cups web interface and now I notice the printer is not listed in "Discovered Network Printers" section. I temporarily renamed /etc/cups, reinstalled the cups package, and restarted the service. The cups web interface still did not list the printer, nor did system-config-printer. The avahi browser still finds the printer and with a new /etc/cups that means the avahi browser is not merely sniffing config files but actually discovering.

I might create a fresh stock Slackware VM and see what happens.
 
Old 07-01-2014, 02:19 PM   #27
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546Reputation: 546
Quote:
system-config-printer --debug
Only thing that popped out at me was a dbus message about not finding some CupsPkHelper file. I again installed the cups-pk-helper package and searched and found the missing files. I started system-config-printer, the dbus message did not appear, but again did not discover the network printer.

I ran the same command on SolydX and I notice one obvious different output message:

dnssdresolve.DNSSDHostNamesResolver instance
Resolving address for hp LaserJet 4200

I started my Salix VM and ran the same command. I did not see that same output message yet the applet discovers the printer. The cups web interface discovers the printer. Salix does not have avahi and cups-pk-helper installed. So something else is related to the discovery.

I think I will create a temporary stock Slackware VM and see what happens.

BTW, I don't think system-config-printer is a Red Hat app. Looks like the app is OpenSuse or at least originated with OpenSuse.
 
Old 07-01-2014, 02:53 PM   #28
gmgf
Senior Member
 
Registered: Jun 2012
Location: Bergerac, France
Distribution: Slackware
Posts: 2,614

Rep: Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336Reputation: 1336
Tim, the dev of system-config-printer work at Red Hat

http://cyberelk.net/tim/software/system-config-printer/
 
Old 07-05-2014, 01:02 AM   #29
Cheesesteak
Member
 
Registered: Jun 2008
Distribution: Slackware
Posts: 102

Rep: Reputation: 24
Works for me

I'm running Slackware64 14.1.

I added AlienBOB's KDE 4.13.2 packages. Other than that, and grabbing avahi from Slackbuilds.org, this is a clean install.

Printer is an HP Color LaserJet 2600n.

system-config-printer discovers my printer. Successful in both KDE and XFCE.

Edit: I'll add that this also works in Debian Wheezy and Linux Mint 17.
Attached Thumbnails
Click image for larger version

Name:	print-conf.jpg
Views:	24
Size:	235.4 KB
ID:	15846  

Last edited by Cheesesteak; 07-05-2014 at 01:04 AM.
 
Old 08-01-2014, 11:51 PM   #30
ferrari
LQ Guru
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 5,899

Rep: Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160
Quote:
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.
Anything different in your /etc/cups/cupsd.conf?
Mine for reference:
Code:
# Show shared printers on the local network.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseLocalProtocols CUPS
I wonder if a tcpdump might reveal the 'discovery' issue at play here.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hp-setup and network printer or hpcups and system-config-printer ToK Linux - Software 3 03-27-2019 09:47 PM
system-config-printer error when configuring the printer for other language(Chinse) amit_pansuria Linux - General 4 08-04-2009 12:34 AM
system-config-printer jmdlcar Slackware 7 09-30-2008 02:29 AM
pycups & system-config-printer jmdlcar Slackware 1 06-10-2008 03:55 AM
system-config-printer config file(s) frenkiel Linux - Software 0 06-06-2006 07:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration