From owner-freebsd-questions Fri Oct 25 10: 7:43 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 E850A37B401 for ; Fri, 25 Oct 2002 10:07:40 -0700 (PDT) Received: from pursued-with.net (adsl-66-125-9-242.dsl.sndg02.pacbell.net [66.125.9.242]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0445343E3B for ; Fri, 25 Oct 2002 10:07:40 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Received: from babelfish (babelfish [192.168.168.42]) by pursued-with.net (8.12.6/8.12.5) with ESMTP id g9PH7W4a001188; Fri, 25 Oct 2002 10:07:32 -0700 (PDT) (envelope-from Kevin_Stevens@pursued-with.net) Date: Fri, 25 Oct 2002 10:07:32 -0700 (PDT) From: Kevin Stevens Reply-To: Kevin_Stevens@pursued-with.net To: Roman Neuhauser Cc: Kevin Stevens , freebsd-questions Subject: Re: printing from windows xp to lpd without samba In-Reply-To: <20021025124722.GA86387@freepuppy.bellavista.cz> Message-ID: <20021025094424.U1076-100000@babelfish.pursued-with.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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? 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. > 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 ->