Help please: cannot print using lpd



[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 (<http://www.bmtmicro.com/BMTCatalog/win/sdilpd.html> and set up the 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?

--
Ian
.



Relevant Pages

  • Re: Help please: cannot print using lpd
    ... lpd operation under XP, but I have had no answers from various XP ... the server. ... On the Linux PC: ... there is nothing wrong with the LAN connectivity. ...
    (comp.os.linux.networking)
  • Re: get rid of cover page
    ... Do you have to run CUPS on your print server? ... The stock Solaris 10 print system seems to support HP's LaserJet ... S10 supports the HP1100but the S10 print service s*cks for ... There was a time the lpd ...
    (comp.unix.solaris)
  • [newbie] Remote Printing
    ... The network printers are accessible via linux servers (lpd) and are ... i have to configure my SCO box to use those printers from SCO ... ... it's a running prod server. ...
    (comp.unix.sco.misc)
  • Re: Telnet printing
    ... > We have a remote client using DSL with dynamic IP addressing to telnet back ... He is using ICE.TCP Pro which comes with an LPD ... My problem is how to define a printer on the server so ... Then you go and set up the lpd server on the remote pc's (windows 2000 ...
    (comp.unix.sco.misc)
  • Configurazione stampante di rete
    ... Tutto ok. ... Ho anche una stampante laser colore però collegata ad un print server che dal server AD funziona senza alcun problema. ... Nel momento in cui provo a configurarla in osx, sempre con lpd ed impostando l'ip ed il nome coda, scegliendo il driver corretto, la stampante ogni volta che tento una stampa viene messa in pausa e la stampa interrotta. ...
    (it.comp.macintosh)