From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 11:43:17 2003 Return-Path: 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 6B91637B401 for ; Tue, 22 Jul 2003 11:43:17 -0700 (PDT) Received: from subliminal.tekrealm.net (12-233-97-227.client.attbi.com [12.233.97.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47B1C43F75 for ; Tue, 22 Jul 2003 11:43:14 -0700 (PDT) (envelope-from elitetek@tekrealm.net) Received: from subliminal.tekrealm.net (whoami@localhost [127.0.0.1]) h6MIh2Qb009347; Tue, 22 Jul 2003 11:43:12 -0700 (PDT) (envelope-from elitetek@tekrealm.net) Received: (from elitetek@localhost) by subliminal.tekrealm.net (8.12.9/8.12.9/Submit) id h6MIh1lT009346; Tue, 22 Jul 2003 11:43:01 -0700 (PDT) (envelope-from elitetek@tekrealm.net) X-Authentication-Warning: subliminal.tekrealm.net: elitetek set sender to elitetek@tekrealm.net using -f Date: Tue, 22 Jul 2003 11:43:01 -0700 From: Andrew Stuart To: "P. U. Kruppa" Message-ID: <20030722184300.GA9248@freebsd.tekrealm.net> References: <20030719070906.C652@small.pukruppa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030719070906.C652@small.pukruppa.de> User-Agent: Mutt/1.4.1i cc: freebsd-questions@freebsd.org Subject: Re: samba(2.2.8) printer server (on 4.8-RELEASE) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: elitetek@tekrealm.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2003 18:43:17 -0000 On Sat, 19 Jul 2003 at 07:58:05 +0200, P. U. Kruppa wrote: > > Hi! > > I am trying to set up a printer server > (SAMBA 2.2.8 package on 4.8 -RELEASE, printer is a Kyocera > FS-3700+ laser printer) which should be accessible from Win2000 > and WinNT4 workstations _without_ any authentication. > > These are the steps I have taken so far: > > 1. I used apsfilter to make the kyocera work locally as a > postscript-printer called lp . > 2. (Sorry - stupid me forgot to bring home a copy of smb.cfg over > the weekend) > I edited smb.cfg so that the printer-server and lp itself can > be seen in Windows' network enviroment, i.e. I set > security = share > and put up a share called > [printers] > browseable = yes > path = /var/spool/lpd/lp > read only = yes > printable = yes > guest ok = yes > and I > # chmod -R 4777 /var/spool/lpd/lp > 3. I used windows' printer setup to install the kyocera driver > for lp > 4. When I try to print something, everything looks fine from the > client side and I can see some blinking of the > printer-server's LED's but nothing more happens. > The windows printer queue stays empty, no files are created in > /var/spool/lpd/lp > > Any ideas, what could be done next? > > Uli. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" did you let samba compile with cups support? (its set by default) If so, rebuild samba checking the box for nocups "without CUPS" and try printing again, most likely it will work perfectly. There appears to be a bug in the way samba handles the cups support, my guess is it defaults the print/lprm/lppause/lpresume commands differently then it does when you specify nocups. -Andrew -- Andrew Stuart http://www.tekrealm.net "If we were meant to fly, we wouldn't keep losing our luggage."