From owner-freebsd-questions Fri Oct 25 11: 5:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1509637B401 for ; Fri, 25 Oct 2002 11:05:35 -0700 (PDT) Received: from mail.thundernet.cz (mail.thundernet.cz [62.77.87.114]) by mx1.FreeBSD.org (Postfix) with SMTP id AA86E43E42 for ; Fri, 25 Oct 2002 11:05:33 -0700 (PDT) (envelope-from neuhauser@bellavista.cz) Received: (qmail 18502 invoked from network); 25 Oct 2002 18:05:31 -0000 Received: from unknown (HELO freepuppy.bellavista.cz) (62.168.44.50) by mail.thundernet.cz with SMTP; 25 Oct 2002 18:05:31 -0000 Received: by freepuppy.bellavista.cz (Postfix, from userid 1001) id 814E02FDAB2; Fri, 25 Oct 2002 20:05:28 +0200 (CEST) Date: Fri, 25 Oct 2002 20:05:28 +0200 From: Roman Neuhauser To: Kevin Stevens Cc: freebsd-questions Subject: Re: printing from windows xp to lpd without samba Message-ID: <20021025180528.GY29294@freepuppy.bellavista.cz> Mail-Followup-To: Kevin Stevens , freebsd-questions References: <20021025124722.GA86387@freepuppy.bellavista.cz> <20021025094424.U1076-100000@babelfish.pursued-with.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021025094424.U1076-100000@babelfish.pursued-with.net> User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG # Kevin_Stevens@pursued-with.net / 2002-10-25 10:07:32 -0700: > On Fri, 25 Oct 2002, Roman Neuhauser wrote: > > 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 > > I don't know. It looks to me as if there may be a permissions problem on > ishtar. The Windows machine (martin) *does* try to submit a job, so the > installation worked ok, and lpd acknowledges the transmission. However, > then you get a job error and the file is created with zero bytes - hmm, > that *doesn't* sound like permssions, actually, you'd expect no spool file > to be created at all. "lp" *is* the actual name of the spool you're > trying to access, right? yes. i can print from any windows host that is in ishtar:/etc/hosts.lpd using "lpr -S ishtar -P lp ". trying to print the test page on the very same printer "added" to the very same windows box fails. > My experience with LPR printing from Windows machines is entirely with > embedded or standalone print servers, rather than through a Unix host, so > I've probably reached the end of my usefulness. you helped me a lot already. > > all I get is the "lp: lost connection" line in the logfile. > > so, what am I doing wrong? > > I'd throw a protocol analyzer (tcpdump would do) on there and see what > the conversation looks like, but that's just me as a network guy. will do. thanks! -- 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