Group: comp.os.linux.networking
From: jayjwa
Date: Saturday, April 05, 2008 4:53 PM
Subject: Re: Help please: cannot print using lpd

Ian writes:

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


> 1. I installed sdilpd.exe

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


This seems to be the first point things go wrong. I don't have any XP
machines handy, so I don't know, but can you turn up any sort of
debugging output/logging so as to find out more info? Are you sure
what you want to do is possible with your Windows lpd service? Maybe
it does not serve IPP/network. Maybe it needs some element of SMB or
other service going at the same time.


> On the Linux PC:
> -----------------------
> 1. "telnet 192.168.x.x 515" did not connect remotely to the server,
> and timed out.


Is there an access list? Something in the registry? Maybe a firewall
got enabled? Those usually let the localhost do what it wants but drop
all other packets.


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

Here's an article on it that may help:

http://www.frogmorecs.com/arts/configure-lpdsvc.html


> Ideas anyone?

Just the above points. If you can't it going like that, maybe you
could use the Linux host as the print server using CUPS, Samba, or a
combo of the two? HP is usually well-supported in Linux. If not,
prehaps Gutenprint added on would help change that.


--
[** America, the police state **]
Whoooose! What's that noise? Why, it's US citizen's
rights, going down the toilet with Bush flushing.
http://www.theregister.co.uk/2008/01/27/bush_nsa_internal/
http://www.wired.com/politics/security/news/2007/08/wiretap
http://www.hermes-press.com/police_state.htm
http://www.privacyinternational.org/article.shtml?cmd%5B347%5D=x-347-559597

Safety Articles | Usenet Groups | Usenet News | Bluegrass