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.
I've installed 10.2 and want to set up printing. I looked on the Slack web site and found a listing in the FAQ about printing. It said make sure I have:
I found that I didn't have some of these and went looking around. In my travels, I came across a reference to Slack 8.0 on the Slack ftp site, and found some of the packages in a1 directory there. There is no a1 directory in the Slack 10.2 directory and of course, the above packages are not under this directory at all. I am wondering if they have been superseded by other packages?
Not sure what to do at this point, because I don't want to install older code (from 8.0) and mess up the newer installation.
If you've got kde you can set it up through that. Or do it directly through the CUPS web interface. Go to http://localhost:631, sign in as root, and follow the instructions. Make sure your printer is turned on so CUPS can see it. Which printer are you using?
Thanks. Found out a couple of things in the interim. I must have installed all (or most) of the required packages already when I installed Slack 10.2. I followed what must be dated instructions on the Slackware web site in the FAQs. I was able to set up my ancient HP DeskJet, but then I ran into trouble printing.
cupsd would generate a process ID but then abort seemingly immediately. I found that I could update cupsd.conf and change the LogLevel line from 'info' to 'debug' then found in the /var/log/cups/error_log:
/usr/bin/gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
I had installed only the non-graphical portion of Slack, no X packages. I went back and installed recommended X packages, and the print started flowing... Talk about unexpected dependencies! Is there a list or diagram somewhere of package dependencies?
Installed Slackware 10.2 (full install so assume all packages). I've checked out basic Unix commands, launched KDE, installed Firefox and Open Office etc. so networking is OK. Now I'm ready to start printing. Reading around, it is clear to me that I want CUPS. Now when I go to KDE and try to access localhost:631 (Konqueror or Firefox) I get the error message
could not connect to host localhost (port 631)
If my understanding is correct, the way I installed Slackware should have installed CUPS. However, I've read admonitions to not "double install" and also possible interference between CUPS and older printing methods. Therefore I'm nervous about trying to install CUPS from scratch.
I'm looking for a step-by-step clean description of how to determine what I have or do not have (CUPS installed or yet to be installed) and how to proceed. I'm happy to use KDE or command line if it is step by step. Assume I'm very tech-savvy but NOT Unix savvy.
After posting this question (which in turn was posted after about three hours on-line trying to work this out), I found WindowMaker's shell script for post-Slackware installation (sorry i don't yet know how to embed a link to another post so use the search to find it in this forum).
For anyone who has experience of other systems but not UNIX/Linux, it is extremely useful and a quick study. I think it should be documented and included in the distro.
Wundermac, basically the problem for you was that although you had CUPS installed, it wasn't set as executeable. If you have a look at the directory /etc/rc.d, you will see in there a lot of services, including CUPS. The ones with an 'x' in the permissions listed at the start of the line are all set to run at boot time. To make something execute at boot, you type something like
chmod +x /etc/rc.d/rc.cups
or
chmod -x /etc/rc.d/rc.cups
if you want to remove executable permission and stop in running at boot. Or you can use the method you used, by typing the octal numbers to set permissions.
Cool tip Simcox1. I'm very computer savvy just no UNIX background so the learning curve is very steep. I know what can be done in principle, just not the tool and syntax. This is probably more frustrating than being a computer newbee since I get frustrated much faster :-) I'm just getting tired making command chart "cheat sheets" and printing lots of on-line tutorials.
Keep up the good work of tolerating and helping those of us who are learning.
Thanks. Found out a couple of things in the interim. I must have installed all (or most) of the required packages already when I installed Slack 10.2. I followed what must be dated instructions on the Slackware web site in the FAQs. I was able to set up my ancient HP DeskJet, but then I ran into trouble printing.
cupsd would generate a process ID but then abort seemingly immediately. I found that I could update cupsd.conf and change the LogLevel line from 'info' to 'debug' then found in the /var/log/cups/error_log:
/usr/bin/gs: error while loading shared libraries: libXt.so.6: cannot open shared object file: No such file or directory
I had installed only the non-graphical portion of Slack, no X packages. I went back and installed recommended X packages, and the print started flowing... Talk about unexpected dependencies! Is there a list or diagram somewhere of package dependencies?
Be well.
I had precisely the same frustrating experience with my dedicated slackware server. I knew the printer worked because I 'cat [textfile] > lp0' would print, but cups behaved as you explained. I found exactly the same line in the error log on debug level logging, so I installed the slackware base X package, which includes shared libraries, and it started working.
If your printer is hooked up to the parrallel port, you'll need to edit /etc/rc.d/rc.modules (whichever kernel your using). Uncomment the appropriate lines in the parrallel printer section.
A lot of program still have lpr as default printing system. The following works for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.