LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-06-2003, 04:26 AM   #1
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65

Rep: Reputation: 15
network printing in linux


i've search this topic but i was not able to locate on how to setup network printing in linux

my printer server is in redhat 9 some clients are on windowsnt, 2000 and xp and mostly are on redhat8 and 9 , mandrake8 and 9.

first of all i have a hp1100a, adding the printer driver is not a problem in rh9 because it is already in the list ... and i also manage to share the printer..

* how would i know if it is really shared and can be seen from the network?
* how to setup the clients? what protocol or driver to use?
* can windows clients connect to my printer server???

thanks
 
Old 08-06-2003, 06:08 AM   #2
mindnumbed
Member
 
Registered: Jul 2003
Location: Scotland
Distribution: Debian
Posts: 74

Rep: Reputation: 15
right, if you are using redHat 9 you will have CUPS installed. to check if you are sharing the printer, use lp -h <your hostname or ip address> from one of the other computers to print a file (assuming you use lp). If it fails your cups configuration is probably wrong. also, visit http://<yourcomputer>:631 . This should bring up the CUPS web interface, and if you see the printer, you're dancing.

as far as client configuration goes, there are two options: either they have their own CUPS servers running and they echo your printer and it all works automatically, or they connect to your CUPS server. I find the KDE print system browser is good for client (and indeed server) configuration. I believe there is a way you can set up a default destination for lp, but i think with redhat 8/9 the machines should have CUPS on them, and they will automatically find the printer.

As for windoze...if it's XP i noticed you can add a printer on the "ipp: protocol" I don't use XP, but CUPS is IPP running on port 631 of the server: you should be able to print directly. As for other 'doze versions, SaMBa is your best bet. By default it has a "bridge" to the print system enabled (just make sure it knows it's CUPS)

You will probably need to edit some setup files, I think CUPS will not allow any other than localhost to browse it at first. I can certainly help you there.

MN
 
Old 08-12-2003, 09:26 PM   #3
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65

Original Poster
Rep: Reputation: 15
http://<yourcomputer>:631
Forbidden
You don't have permission to access the resource on this server.

maybe i dont have access in that server... strange but i can now print my only problem now is printing in mandrake... its different in redhat
 
Old 08-15-2003, 03:23 AM   #4
Kent Emia
Member
 
Registered: Aug 2003
Location: Philippines, Davao City
Distribution: redhat / fedora /
Posts: 65

Original Poster
Rep: Reputation: 15
i already flushed the firewal of the pc which has the computer but it is strange....

i can't still connect
 
Old 08-18-2003, 10:49 AM   #5
mindnumbed
Member
 
Registered: Jul 2003
Location: Scotland
Distribution: Debian
Posts: 74

Rep: Reputation: 15
CUPS has its own internal list of hosts to allow, you'll find it in cups configuration files. check that. where are you printing to and where from? if you are accessing a CUPS server locally (ie via the loopback interface) you should use localhost not your hostname. if you're printing to another computer most likely explanation is either firewall, /etc/hosts.allow, or cupsd.conf needs editng
MN
 
Old 02-04-2004, 12:12 PM   #6
Sm0k3
Member
 
Registered: Sep 2003
Location: Chicago
Distribution: Slackware-current
Posts: 63

Rep: Reputation: 15
Try adding these to /etc/cups/cupsd.conf
Code:
Listen <Your Computer's IP on LAN>:631
Listen 127.0.0.1:631
BrowseAddress @IF(eth0)
BrowsAddress @IF(lo)
 
  


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
Setup Linux network printing aclaunch Linux - Networking 3 01-13-2004 10:40 AM
Printing from Linux locally or to a network printer drumlinuxuser Linux - Networking 3 10-15-2003 02:12 PM
Linux Network printing plonker Linux - Networking 0 12-09-2002 06:28 PM
Slow Linux Network Printing/But Windows is Okay! esael Linux - Networking 0 11-21-2002 02:08 AM
Printing to network printer (windoze) from linux rohang Linux - Networking 2 11-05-2002 10:07 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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