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 11-29-2004, 07:26 AM   #1
daspooky
LQ Newbie
 
Registered: Nov 2004
Posts: 23

Rep: Reputation: 15
how to install network printer in slackware 10?


hello there
i'm kinda new to slackware, coming from fedora core..
I got everything configured fine, running icewm, but i have one problem left, installing a network printer, that is connected to a windows xp computer.

in fedora core 1 and 2 the printer was easy to install using some gnome utility. so i know the settings on the windows pc are already correct.

my question is, where do i start in slackware 10, kernel 2.4.26 when i want to install that printer, it's an hp deskjet 970c.

I know i should have samba and something called cups installed.. how can i check that both are installed?

Can someone point me to a step by step guide to install a network printer in linux, because a good guide seems to be a rarity on the net (i've been looking all over the net with google).. or can someone explain how to do install it..
thanks a lot
 
Old 11-29-2004, 09:52 AM   #2
finance_geek
LQ Newbie
 
Registered: Nov 2004
Posts: 7

Rep: Reputation: 0
I am pretty new to Linux altogether, but I just installed slackware 10 and had trouble getting my printer to work. I found somewhere that by default the parallel printer port is disabled. To enable it edit the /etc/rc.d/rc.modules file. find these lines, they will look something like this:

#### Parallel printer support ###
#if cat /proc/ksyms | grep "\[lp\]" 1> /dev/null 2> /dev/null ; then
# echo "lp support built-in, not loading module" > /dev/null
#else
# if [ -r /lib/modules/$RELEASE/misc/lp.o \
# -o -r /lib/modules/$RELEASE/misc/lp.o.gz \
# -o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o \
# -o -r /lib/modules/$RELEASE/kernel/drivers/char/lp.o.gz ]; then
# /sbin/modprobe lp
# fi
#fi

uncomment the lines and restart your computer.

If you are running KDE, you can go to your programs menu -> settings -> printing manager. This will pull up a nice gui to guide you through setting up your printer. I haven't setup a network printer, but this should put you on the right path. Good luck!
 
Old 11-29-2004, 01:18 PM   #3
justwantin
Member
 
Registered: Aug 2003
Location: Melbourne, Australia
Distribution: Slackware, Slackwarearm
Posts: 878

Rep: Reputation: 120Reputation: 120
Since your admittedly new to slack I'm going to be a bit verbose and perhaps redundant but this like many other things caused me much difficulty until I sorted it out in my mind. Maybe I can save you a bit of grief, documentation was scarce or poor when I had to nut it out.

I use a slack-10 box as a printserver with cups. if you are networking other linux boxes, that's all you need. You can do without samba and I have even had clients running win-2k accesss the cups server without samba using IPP.

In slackware you have your choice of printer systems (lprng and cups) but you can not have both running at the same time. You may have noticed that you were given a choice when you installed slack. If you nominated , say, CUPS as your printserver then the installer would have made /etc/rc.d/rc.cups executable but not /etc/rc.d/lprng.

If the rc.cups script is executable, cups is started at boot. If for some reasons you change your cups configuration files or something like that you will have to stop/start cups. The commands are /etc/rc.d/rc.cups stop /etc/rc.d/rc.cups start or /etc/rc.d/rc.cups restart as root.

You should be able to access the CUPS interface in anybrowser on the server at port 631 (the same for standalone boxes) Use http://localhost:631 or 127.0.0.1:631, its the same thing.

As noted above, you can interface with cups in kprinter but I've preferred accesssing cups with a browser for setting up printers and other such stuff and using kprinter for managing the print jobs. Just me, others do it other ways, that's linux, that's choice.

If you have your server configured correctly and printers setup on the cups server, when you open kprinter or go to the printing manager via settings on a client you will see your server's printers listed as available. Note that you will have to nominate CUPS at the bottom of the print manager or kprinter so KDE knows it's working with CUPS

CUPS in slack will work standalone out of the box. You will have to edit the /etc/cupsd.conf file on the server and the /etc/cups/client.conf on an/all clients for networking printshares Once the configuration files are changed you will have stop/start the cups server as explained above.

It took me awhile to sort out what I should have in my cupsd.conf and client.conf files. I'll give you a headstart. You can see what I've done here http://members.optusnet.com.au/~rick...0configuration and work from that. That's how I started, by grabbing someone else's off the net and fiddling with it till it worked for me. Note that in the example cupsd.conf on the page listed above I am allowing access to one client with ip 192.168.1.2. Things like that will have to be changed to suit your situation in your configuration.

............and Google is your friend!it

Last edited by justwantin; 11-29-2004 at 01:24 PM.
 
  


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
How to install a printer in Slackware 10? Rhatlinux Slackware 23 10-01-2004 09:58 AM
Connect to shared network printer on WinXP machine for all users (Slackware) a1flecke Linux - Newbie 12 05-03-2004 07:27 PM
Network Printer Setup on Slackware 9.1 seagoj Linux - Networking 1 04-03-2004 05:18 PM
Network Printing, CUPS, Slackware 9.1, Xante Printer Conpen2000 Linux - Newbie 0 01-12-2004 09:36 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 10:03 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