Help please: cannot print using lpd - Networking

This is a discussion on Help please: cannot print using lpd - Networking ; [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 ...

+ Reply to Thread
Results 1 to 3 of 3

Thread: Help please: cannot print using lpd

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

  2. Re: Help please: cannot print using lpd

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

  3. 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..._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 to Thread