LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 09-04-2004, 08:55 AM   #1
1_8_7
Member
 
Registered: Apr 2003
Distribution: slackware 9.0
Posts: 44

Rep: Reputation: 15
Cups


I am a Windows guru but learing Linux and I am running slackware 9. I have a question on how to install CUPS so I can finally hook my printer up. i can navigate to the /etc/cups folder and see two files in there and they are command.types and pstoraster.convs....so i thoght that meant it was installed when i did a full slackware install but when i go to http://localhost:631 it says CUPS may not be installed or installed properly.

So, how do i install CUPS???? I need my printer to work!!!

Thanks!
 
Old 09-04-2004, 10:13 AM   #2
wallison
Member
 
Registered: Jul 2003
Location: MD USA
Distribution: Slackware
Posts: 136

Rep: Reputation: 18
You can do an "ls" in the /var/log/packages directory to see if CUPS is installed. If it is make sure that the rc.cups file in /etc/rc.d has the execute bit on. Then do a "ps ax | grep cupsd" to see if it's running. If it isn't installed use installpkg as root to install it off of the first CD, it should be in /a.

EDIT: Oops, sorry, I don't think CUPS was included in Slackware 9. Maybe you should try 10.0, I've been using it since it came out and it is money.

Last edited by wallison; 09-04-2004 at 10:17 AM.
 
Old 09-04-2004, 10:13 AM   #3
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Try reinstalling cups

$ su
<password>
# pkgtool

Choose the option to remove a package and remove cups

Then download cups from your favourite mirror or from my favourite mirror:

ftp://ftp.heanet.ie/mirrors/ftp.slac....20-i486-1.tgz

# installpkg cups-1.1.20-i486-1.tgz

And try again :)

Steve
 
Old 09-04-2004, 10:14 AM   #4
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
First of all you can do a search in this forum.

However, I will let you know what you need to do.

Step 1
Code:
cd /etc/rc.d
chmod +x rc.cups
./rc.cups start
Since you have done a FULL install. That means you have installed both lprng and cups printing system.

Step 2a
Code:
cd /usr/bin
ls -l lp*
it will show that your lp -> lp-lprng, lpq -> lpq-lprng and so on. What you need to do is:
Step 2b
Code:
rm lp
rm lpq
rm lpr
rm lprm
rm lpstat
ln -s lp-cups lp
ln -s lpq-cups lpq
ln -s lpr-cups lpr
ln -s lprm-cups lprm
ln -s lpstat-cups lpstat
 
Old 09-04-2004, 10:16 AM   #5
carboncopy
Senior Member
 
Registered: Jan 2003
Location: Malaysia
Distribution: Fedora Core, Slackware, Mac OS X, Debian, OpenSUSE
Posts: 1,210
Blog Entries: 4

Rep: Reputation: 45
Quote:
Originally posted by SBing
Try reinstalling cups

$ su
<password>
# pkgtool

Choose the option to remove a package and remove cups

Then download cups from your favourite mirror or from my favourite mirror:

ftp://ftp.heanet.ie/mirrors/ftp.slac....20-i486-1.tgz

# installpkg cups-1.1.20-i486-1.tgz

And try again

Steve

Oh yes, that is a very good idea since Slackware 9.0 comes with older version of cups. And if you install the new version of cups, you don't have to do Step 2(a and b).
 
Old 09-04-2004, 10:22 AM   #6
1_8_7
Member
 
Registered: Apr 2003
Distribution: slackware 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
You guys rock! I will give this a try and let you all know if i got it to work!

Thanks again!
 
Old 09-04-2004, 02:39 PM   #7
1_8_7
Member
 
Registered: Apr 2003
Distribution: slackware 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
i downloaded from the mirror listed and when i go to install it it says cannot install because it does not end in .tgz ...but it does end in .tgz...ugh!!! i have it saved to my desktop...could this be a problem?
 
Old 09-04-2004, 02:57 PM   #8
1_8_7
Member
 
Registered: Apr 2003
Distribution: slackware 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
Sweet! I did get it to work! one question though to carboncopy....will i have to go through step 1 every time i want CUPS to start?
 
Old 09-04-2004, 03:18 PM   #9
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Mind if I field that one?

You won't need to since you've made it executable - it'll be run everytime you start the machine - the only reason you have to run:

./rc.cups start

Is to start it up incase it wasn't started at startup :)

(Let's hope that's correct!)

Steve
 
Old 09-04-2004, 05:19 PM   #10
1_8_7
Member
 
Registered: Apr 2003
Distribution: slackware 9.0
Posts: 44

Original Poster
Rep: Reputation: 15
Thanks again...everything is up and running great!
 
  


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
Printing Problem (cups / cups-lpd) daleman Linux - Software 3 04-08-2005 08:01 AM
remote cups printing to a smb/cups print server? justanothergeek Linux - Networking 2 09-15-2004 08:31 AM
Slackware 9 and CUPS (CUPS=crap) - printing carboncopy Slackware 21 07-29-2003 03:27 PM
CUPS in SuSE <> Cups RH' Like? Tiago Cruz Linux - Hardware 0 02-13-2003 12:46 PM
cups-libs need to install cups illtbagu Linux - Newbie 3 01-23-2003 07:02 PM


All times are GMT -5. The time now is 11:36 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration