migrating CUPS to CentOS5.5

Discussion in 'Server Operation' started by chipsafts, Sep 15, 2010.

  1. chipsafts

    chipsafts New Member

    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
    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

    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:

    R:\remitw>lpq -S fedora4 -P TLR -l
    TLR is not ready
    no entries

    BUT the request to the CentOS does not work

    R:\remitw>lpq -S Centos -P TLR -l
    Error: No response from Centos.

    and trying to lpr from a pc on the lan results in
    Error: print server unreachable or specified printer does not exist.

    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?[

Share This Page