Printing with CUPS

I’m having trouble printing from my opensuse desktop to a windows xp professional desktop with an usb printer attached. I have installed Printer sharing for Unix in windows xp setup and TCP/IP printer sharing is enabled. I followed the steps in CUPS carefully, entering in the correct ip address and printer name.

lpd://192.168.2.3/epsonsx400

and yet I still can’t get the thing to print a test page. It just hangs on attempting to connect to 192.168.2.3

What am I doing wrong?

I found out that the problem was down to Windows Firewall blocking the print job. What port does it use so I can allow it?

From /etc/services:

ldp             646/tcp    # LDP
ldp             646/udp    # LDP

hcvv wrote:
> From /etc/services:
>
> Code:
> --------------------
> ldp 646/tcp # LDP
> ldp 646/udp # LDP
> --------------------

No. cups uses 631
$sudo netstat -tanp|grep [c]ups
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3526/cupsd
tcp 0 0 ::1:631 :::* LISTEN 3526/cupsd