Networking Forums

Networking Forums > Computer Networking > Linux Networking > Help please: cannot print using lpd

Reply
Thread Tools Display Modes

Help please: cannot print using lpd

 
 
Ian
Guest
Posts: n/a

 
      03-30-2008, 06:46 AM
[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
 
Reply With Quote
 
 
 
 
Baho Utot
Guest
Posts: n/a

 
      03-30-2008, 10:35 AM
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
> (<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?


Ask Bill



--
Tayo'y Mga Pinoy
 
Reply With Quote
 
jayjwa
Guest
Posts: n/a

 
      04-05-2008, 09:53 PM
Ian <(E-Mail Removed)> 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..._nsa_internal/
http://www.wired.com/politics/securi...007/08/wiretap
http://www.hermes-press.com/police_state.htm
http://www.privacyinternational.org/...D=x-347-559597
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wireless print server for print/fax/scanner? bob Network Routers 1 04-05-2011 09:05 PM
Problems with US Robotics 5461 wireless print server - "cant create print job" zigipha@hotmail.com Wireless Internet 1 12-10-2006 05:35 AM
2003 Print Server - Users Can't Print Inoffensive Windows Networking 2 03-27-2006 08:40 PM
print server slow to print littleruss21 Windows Networking 0 09-07-2005 12:11 AM
can't print to windows 98 machine being used as print server attached with USB p SteveSanders Windows Networking 0 06-04-2004 04:16 AM



1 2 3 4 5 6 7 8 9 10 11