Date: Fri, 25 Oct 2002 14:47:22 +0200 From: Roman Neuhauser <neuhauser@bellavista.cz> To: Kevin Stevens <Kevin_Stevens@pursued-with.net> Cc: freebsd-questions <freebsd-questions@FreeBSD.ORG> Subject: Re: printing from windows xp to lpd without samba Message-ID: <20021025124722.GA86387@freepuppy.bellavista.cz> In-Reply-To: <E8134D01-E809-11D6-AB53-003065715DA8@pursued-with.net> References: <20021025104039.GS29294@freepuppy.bellavista.cz> <E8134D01-E809-11D6-AB53-003065715DA8@pursued-with.net>
next in thread | previous in thread | raw e-mail | index | archive | help
# Kevin_Stevens@pursued-with.net / 2002-10-25 04:07:09 -0700:
> On Friday, Oct 25, 2002, at 03:40 US/Pacific, Roman Neuhauser wrote:
> > Does anyone here know how to setup Windows XP to use a remote LPD?
> > If so, what are the steps? (googling for lpd and windows finds about 1k
> > hits for Lunix printing howto which doesn't cover this scenario.)
> 
> Just go through the printer setup wizard, and select a local printer 
> (counterintuitive, I know).  When you get to the requestor for which 
> port to use, pick "New Port" and create a "Standard TCP/IP port" aimed 
> at the IP or resolvable hostname of your LPD box.
    gods bless you, Kevin, it still doesn't work, but i got further. :)
    i'm running lpd with -clW switches (windows lpr sends from ports
    >1024), and printing from my FreeBSD desktop works just fine:
    Oct 25 11:56:12 ishtar lpd[7336]: freepuppy.bellavista.cz requests recvjob lp
    Oct 25 11:56:15 ishtar lpd[7339]: freepuppy.bellavista.cz requests displayq short lp
    but from windows boxes:
    Oct 25 11:56:57 ishtar lpd[7341]: martin.bellavista.cz requests recvjob lp
    Oct 25 11:56:57 ishtar lpd[7341]: Error receiving job from martin.bellavista.cz:
    Oct 25 11:56:57 ishtar lpd[7341]: lp: lost connection
    roman@ishtar ~ 1001:0 > lpq
    Warning: no daemon present
    Rank   Owner      Job  Files                                 Total Size
    1st    tkadlec    5    Test Page                             0 bytes
    roman@ishtar ~ 1002:0 > ps auxww|grep lpd
    root      6630  0.0  0.5   972  600  ??  Is   11:52AM   0:00.01 /usr/sbin/lpd -clW
    what's up? "no daemon present"? (i don't think that's related)
    this is how I add the printer: 
    Start -> Settings -> Printers -> Local printer -> Create new port ->
    Standard TCP/IP port -> Printer name/address: ishtar.bellavista.cz ->
    Device type -> Custom -> Protocol: LPR, Spool name: lp -> <select
    the right driver> (the printer is HP LaserJet 1200 PS) -> ... ->
    print test page.
    all I get is the "lp: lost connection" line in the logfile.
    so, what am I doing wrong?
    umm, local printer, yes, that's logical. :)
-- 
If you cc me or take the list(s) out completely I'll most likely
ignore your message.
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021025124722.GA86387>
