LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 11-30-2003, 12:44 AM   #1
bmw5002
LQ Newbie
 
Registered: Aug 2003
Posts: 8

Rep: Reputation: 0
Unhappy Network printing...


Wow, I am so lost here. I have been toying with linux for a couple months now. I run my RH9 box on runlevel 3, as I find it more challenging to learn the command line, when I use a GUI everyday on windows. Since winblows xp is my main comp, and I used my linux box as a server for months before, I never had a need for a gui. Well now I want to use my box as a network print server. I have samba working and have configured it from the cli to share some folders. I have tried to figure out how to do network printing, but I am hopelessly lost. I know some of the gui tools included with rh may have helped, but i am using cli only now. I am really confused by CUPS, ghostscript, foomatic, gimp-print, and all these other things I have come across on my quest. I do not understand how these things tie together and what you use them for. I know cups has something to do with print spooling, and somehow I need to share the printer through samba, but any farther and I am hopelessly lost. I have looked at a coupel sites like linuxprinting, and the docs confuse me even more. Can someone clarify the basic steps i need to accomplish or point me in the right direction? Thanks. I have an epson stylus c80 by the way, and an HP laserjet 4ml that i would like to network so i can access them from winblows. Any reply would be appreciated.
 
Old 11-30-2003, 05:03 PM   #2
Tomasfuego
Member
 
Registered: Nov 2002
Location: USA
Distribution: Lenny at work
Posts: 168

Rep: Reputation: 30
You have samba up, so that is good ... You should install the samba-swat rpm ... this gives you a web-browser based administration tool for configuring samba. You can access it from localhost:901 i believe ... better check its man pages.
 
Old 12-01-2003, 10:28 AM   #3
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
Cups needs to be told that it should share its printers. Try the following:

Quote:
Windows printer drivers format their output for the printer before sending it across the network. You must configure CUPS to accept the pre-formatted output by uncommenting the following line from /etc/cups/mime.convs:

application/octet-stream application/vnd.cups-raw 0 -

Also uncomment the following line from /etc/cups/mime.types:

application/octet-stream

Now CUPS must be told to allow connections from other machines on the network. Add these lines to /etc/cups/cupsd.conf:

<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All
</Location>

As in the Samba configuration, this configuration allows any computer to connect to your printers and is not recommended for computers on untrusted networks. For information about tightening access control to your printers, see the cupsd.conf man page and the CUPS documentation.

Finally, restart cups with the following command:

/etc/init.d/cupsys restart

Your Linux printers should now be shared to Windows PCs on the LAN. Follow the usual steps for adding a network printer to your Windows PCs, and remember to print a test page.
This extract is from the following link:

http://www.faqs.org/docs/Linux-mini/...re_cups_config

Hope this helps.

p.n
 
  


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 Over Network eggoz Linux - General 7 02-01-2005 11:12 AM
Network printing p1az Fedora 6 10-12-2004 08:14 PM
network printing help please pcdunx Linux - Networking 0 11-14-2003 05:48 AM
printing on the network jj71 Linux - Newbie 1 07-31-2003 03:21 PM
Network Printing esael Linux - Networking 1 08-29-2002 12:40 PM


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