I have a print server using CUPS on a CentOS 5.3 box. On my PC, I set up a remote printer with the URI http://$PRINT_SERVER:631/printers/$PRINTER_NAME, and have successfully been able to print files to it.
There is another system, which my team does not have control over, that sends all of its print requests using LPD on port 515. I need to handle this somehow. I installed the cups-lpd package and edited the /etc/xinetd.d/cups-lpd file to enable it (or so I thought):
~$ cat /etc/xinetd.d/cups-lpd
service printer
{
socket_type = stream
protocol = tcp
port = 515
wait = no
user = lp
group = sys
passenv =
server = /usr/libexec/cups/daemon/cups-lpd
server_args = -o document-format=application/octet-stream
disable = no
}
But as far as the other computers on the network are concerned, port 515 is closed:
Starting Nmap 5.51 ( http://nmap.org ) at 2011-09-02 16:41 Central Daylight Time
Nmap scan report for [IP address]
Host is up (0.028s latency).
Not shown: 995 closed ports
PORT STATE SERVICE
514/tcp open shell
631/tcp open ipp
1066/tcp open fpo-fns
1067/tcp open instl_boots
6000/tcp open X11
Nmap done: 1 IP address (1 host up) scanned in 0.52 seconds
Is there something else I need to change in the xinetd configuration to enable the LPD port?
iptables -nvL. – Gilles Sep 2 '11 at 22:13