Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CUPS setup for others to use printers

Status
Not open for further replies.

stfaprc

Programmer
Feb 10, 2005
216
0
0
US
On a pc running Fedora4 with cups-1.1.23-15.4 , I have printers setup that can accept lp submitted jobs from other pcs, including windows pc on the LAN and a UNIX machine that is not on the lan.
I would like to get the same functionality going with CentOS5.5 and cups 1.3.7-18.el5 5.7

On the CentOS pc
[tt]lpstat -p -d
printer 5si is idle. enabled since Tue 14 Sep 2010 03:30:34 PM PDT
printer Cups-PDF is idle. enabled since Thu 03 Jun 2010 09:42:49 AM PDT
printer PDF is idle. enabled since Tue 14 Sep 2010 03:30:34 PM PDT
printer TLR is idle. enabled since Tue 14 Sep 2010 10:45:35 AM PDT
printer Tek is idle. enabled since Tue 14 Sep 2010 03:30:34 PM PDT
no system default destination
[/tt]
and job submitting via lpr -P TDLR -H Centos sample.file
works just great.

when I go to a windows pc on the lan I get the following:
[tt]
R:\remitw>lpq -S fedora4 -P TLR -l
TLR is not ready
no entries
[/tt]
BUT the request to the CentOS does not work
[tt]
R:\remitw>lpq -S Centos -P TLR -l
Error: No response from Centos.
[/tt]
and trying to lpr from a pc on the lan results in
[tt]Error: print server unreachable or specified printer does not exist.[/tt]

I went throught the cupsd.conf on the CentOS, which was pretty sparse and tried manually adjusting it to try to match the Fedora version. When those didn't work I just copied over the whole file from Fedora -> CentOS but that still didn't get me working.

Each time I changed the cupsd.conf I also restarted the cupsd service.
The firewall settings for ports 515 & 631 are the same on the Fedora and CentOS.
There is no 'error activity' showing in the logs on the CentOS.

So I'm stumped. is there an "out-of-the-box" way to migrate the Fedora CUPS setup to CentOS ? If not, how do I setup the printers and cups so that pc's other than the machine itself can access the printers?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top