LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-02-2005, 11:39 PM   #1
ss100
LQ Newbie
 
Registered: Dec 2004
Location: areepparampu
Posts: 17

Rep: Reputation: 0
How to share printer in linux network?


i am a new user to linux. so many drawbacks and knows a little abt linux.

this is a lab which contains 10 systems connected through a network. the systems contains redhat linux version 9.

an hp printer is connected to the server and it is installed there.
how can i share the priter with other systems. that is ,
i need a printout of the file which is residing in a client. is it possible without copying the file to the server?then please tell me how it is?

also tell me how we share the the printer connected to a client?

thank you
 
Old 01-03-2005, 02:17 AM   #2
tinksmartbstupi
Member
 
Registered: Dec 2004
Location: Coram, NY
Distribution: Slackware
Posts: 47

Rep: Reputation: 15
Are you using CUPS? because if you are, and it's configured correctly, all you have to do is set up CUPS on the client computers (since you already did it once), and edit this section in /etc/cups/client.conf:

# ServerName: the hostname of your server. By default CUPS will use the
# hostname of the system or the value of the CUPS_SERVER environment
# variable. ONLY ONE SERVER NAME MAY BE SPECIFIED AT A TIME. To use
# more than one server you must use a local scheduler with browsing
# and possibly polling.
#

ServerName (Ip address of servercomputer)


if your not, and you want to, or need more information fast, take a look at this site:



http://www.cups.org/documentation.php
 
Old 01-03-2005, 04:48 AM   #3
Prabhat Sharda
LQ Newbie
 
Registered: Jan 2005
Location: Noida, India
Distribution: RedHat 9.0, CentOS 3.4
Posts: 17

Rep: Reputation: 0
hello dear,

use samba server to attach the printer to ur network, if u have to attach it from linux machine. It also works on windows.

for more go to the url:

www.linuxhomenetworking.com

i hope after getting the stuf from this , ur problem will be solved soon.

cheers
bye bye
 
Old 01-03-2005, 08:08 AM   #4
doc.nice
Member
 
Registered: Oct 2004
Location: Germany
Distribution: Debian
Posts: 274

Rep: Reputation: 34
if you only occasionally need to print a single file,
you can directly print it using lp:

Code:
ssh username@machine_with_printer "lp -" < file_to_print.ps
or whatever command you use normally to print on the printer machine
most commands understand "-" as filename meaning "read data from stdin".
you can create an alias to this command using

Code:
alias myprint="ssh username@machine_with_printer \"lp -\" < "
Now you can print any ps file using "myprint filename.ps"

This is what i use on my laptop at the university...

HTH,
Flo
 
  


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
Share Linux printer from XP mngmd Linux - Hardware 6 03-28-2007 11:00 PM
Can linux share a laser printer with xp? sirius57 Linux - Hardware 2 11-26-2005 06:34 PM
share a windows printer with linux. qwijibow Linux - Networking 2 01-03-2005 05:09 PM
Linux Printer Share Problem KevinGuy Linux - Networking 4 03-21-2004 12:17 PM
windows printer how to share in linux kjsubbu Linux - Networking 2 11-25-2003 10:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:42 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