On Sun, 30 Mar 2008 06:46:08 +0000, Ian wrote:
> [This question is slightly OT for this group as it is really to do with
> lpd operation under XP, but I have had no answers from various XP
> groups, so thought I would try here].
>
> I want to print files from a Linux (SuSE 10) system to an XP Home system
> that has an HP printer attached. XP is fully up to date with SP2 and all
> subsequent updates.
>
> First, this is what *does* work.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On the XP PC
> (192.168.x.x):
> ---------------------------------------- 1. I installed sdilpd.exe
> (
> printer queue.
>
> 2. "netstat -a" confirmed that lpd was listening on port 515.
>
> 3. "telnet 192.168.x.x 515" confirmed that I could connect locally to
> the server.
>
>
> On the Linux PC:
> -----------------------
> 1. "telnet 192.168.x.x 515" confirmed that I could connect remotely to
> the server.
>
> 2. I set up a printer, and printed successfully to the XP printer.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
>
> Although everything worked exactly as I wanted, the snag is that sdildp
> is on a 30-day trial. Looking for an alternative approach, I discovered
> belatedly that XP appears to have built-in lpd support, so I uninstalled
> sdilpd and then did the following:
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ On the XP PC:
> --------------------
> 1. I set up the lpd server (Control Panel>Administrative
> Tools>Services).
>
> 2. "netstat -a" confirmed that lpd was listening on port 515.
>
> 3. "telnet 192.168.x.x 515" confirmed that I could connect locally to
> the server.
>
> 4. I attempted to configure a printer, setting up an LPR port on
> 192.168.x.x. This failed, with the long error message stating that it
> could go no further.
>
> On the Linux PC:
> -----------------------
> 1. "telnet 192.168.x.x 515" did not connect remotely to the server, and
> timed out.
>
> 2. Wireshark on the XP machine confirmed that the telnet connect request
> from the Linux machine did reach the XP machine, but the server did not
> respond in any way.
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>
> BOTTOM LINE: I am mystified as to why I cannot configure the printer on
> the XP machine, and why local telnet requests to the server work on the
> XP, but do not work across the LAN, even though I have already proved
> there is nothing wrong with the LAN connectivity.
>
> Ideas anyone?
Ask Bill
--
Tayo'y Mga Pinoy