LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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-29-2004, 03:17 PM   #1
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Rep: Reputation: 15
How to install a printer in Slackware 10?


How do I install and setup a printer in Slackware 10?
 
Old 09-29-2004, 03:18 PM   #2
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Easiest way is through CUPS

go to your internet browser and type
http://localhost:631
 
Old 09-29-2004, 03:54 PM   #3
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I get the error message "The connection was refused when attempting to contact localhost:631
 
Old 09-29-2004, 04:09 PM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Are you sure CUPS is installed ? if not, download and install from http://slackware.com/pb/searchpkg.ph...nt&string=cups

then start cups,
/etc/rc.d/rc.cups start
(if it says its not executable, then chmod +x /etc/rc.d/rc.cups )
 
Old 09-29-2004, 05:03 PM   #5
noxious
Member
 
Registered: May 2004
Location: Ohio, USA
Distribution: LinuxMint Gloria, Ubuntu 9.10
Posts: 299

Rep: Reputation: 30
...or try it as root.
 
Old 09-29-2004, 05:12 PM   #6
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I get the following error now:

Quote:
cupsd: Child exited with status 13!
cups: unable to start scheduler.
I had to change the permissions because it would not run as root
 
Old 09-29-2004, 05:15 PM   #7
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
maby this thread could hlep

http://www.linuxquestions.org/questi...with+status+13
 
Old 09-29-2004, 05:50 PM   #8
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
That thread is about getting the printer to work with Samba. I would like to know how to install a printer.
 
Old 09-29-2004, 08:17 PM   #9
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
I uninstalled the cups package and installed it all over again and I see a web page when I click on http://localhost:631. I'll tell you how it goes...
 
Old 09-29-2004, 08:19 PM   #10
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
Okay, when I click on "add printer", it wants to know the location and I'm not sure where it would be. I am using an Epson Stylus C60 USB printer.
 
Old 09-29-2004, 09:44 PM   #11
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
Now it's not working. I get the same error message: The connection was refused when attempting to contact localhost:631.
 
Old 09-29-2004, 09:47 PM   #12
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I guess you've rebooted and you don't have /etc/rc.d/rc.cups as executable.
Try running: /etc/rc.d/rc.cups start
and then try accessing in the browser.
If that worked then do: chmod +x /etc/rc.d/rc.cups
to make it run on every start

That error means that cups daemon is not running, so was shutdown somehow.

Last edited by gbonvehi; 09-29-2004 at 10:08 PM.
 
Old 09-29-2004, 10:50 PM   #13
suslik
Member
 
Registered: Jul 2004
Distribution: OpenSuse 10.x
Posts: 262

Rep: Reputation: 30
The "Add Printer Wisard" in KDE is very good.

If you have KDE, go
- Control Center > Peripherals > Printers
- Choose "CUPS" at the bottom of the window
- Press the Add > Printer menu and follow the prompts.

Assuming CUPS has the driver for your printer - you'll have it working in 3-4 easy steps.

EDIT: Just checked, Epson C60 is on the list.

EDIT2: This of course assumes you have cups working,
do "ps aux | grep cups"
My output is bellow.
Code:
root      1302  0.0  0.4  4732 1892 ?        Ss   18:26   0:01 /usr/sbin/cupsd
dd        2040  0.0  0.1  1680  596 pts/1    S+   20:54   0:00 grep cups
The key line here is /usr/sbin/cupsd. If you dont have it, make sure /usr/sbin/cupsd runs at start.

Last edited by suslik; 09-29-2004 at 10:56 PM.
 
Old 09-30-2004, 01:05 AM   #14
user_of_slack
LQ Newbie
 
Registered: Sep 2004
Distribution: Slackware 10.0
Posts: 14

Rep: Reputation: 0
Quote:
Originally posted by Rhatlinux
Okay, when I click on "add printer", it wants to know the location and I'm not sure where it would be. I am using an Epson Stylus C60 USB printer.
The location is not on your computer it is for reference. ie The back room... Bob's Office etc.
 
Old 09-30-2004, 07:01 AM   #15
Rhatlinux
Member
 
Registered: Sep 2004
Distribution: Arch 0.7.1 (Noodle)
Posts: 128

Original Poster
Rep: Reputation: 15
So far everything works. Should I check if my printer is a postscript printer? What is a postscript printer?
 
  


Reply



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
Cannot install HP Laserjet 4L Printer on Slackware 10... plz help sys7em Linux - Hardware 0 01-28-2005 02:02 PM
how to install network printer in slackware 10? daspooky Slackware 2 11-29-2004 01:18 PM
adding printer in slackware 2.4.22 Gary_Menegon Linux - Newbie 9 07-05-2004 10:04 AM
Slackware printer problems headshot Linux - Hardware 0 08-09-2003 06:46 PM
setup printer on client machine(slackware 8) to server (slackware7) network printer changwoo Slackware 9 05-02-2003 05:37 PM

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

All times are GMT -5. The time now is 06:48 AM.

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