From owner-freebsd-questions Sun Sep 19 6:22:18 1999 Delivered-To: freebsd-questions@freebsd.org Received: from smtp02.wxs.nl (smtp02.wxs.nl [195.121.6.60]) by hub.freebsd.org (Postfix) with ESMTP id F045F14E8C for ; Sun, 19 Sep 1999 06:22:12 -0700 (PDT) (envelope-from asmodai@wxs.nl) Received: from daemon.ninth-circle.org ([195.121.196.225]) by smtp02.wxs.nl (Netscape Messaging Server 3.61) with ESMTP id AAA6CA7; Sun, 19 Sep 1999 15:22:11 +0200 Received: (from asmodai@localhost) by daemon.ninth-circle.org (8.9.3/8.9.3) id PAA04682; Sun, 19 Sep 1999 15:22:04 +0200 (CEST) (envelope-from asmodai) Date: Sun, 19 Sep 1999 15:22:04 +0200 From: Jeroen Ruigrok/Asmodai To: Nguyen Huu Bach Cc: FreeBSD-Question Subject: Re: Help:printing with samba Message-ID: <19990919152204.R3566@daemon.ninth-circle.org> References: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.7i In-Reply-To: <03cb01bf026a$11a6db80$0e181c0a@archi.gifunct.ac.jp> Organisation: Ninth-Circle Enterprises Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * Nguyen Huu Bach (bachng@mail.com) [990919 09:53]: >I failed to print from my Unix box (installed with FreeBSD 3.2) to Windows95 >printer (LP-1000) with Samba. >When I print one file from the Unix box (using lpr command), there was no >error but nothing was printed out at all. After that when I print something >else from Windows it comes with the content of the previous file at the top. > >>>printcap ># setting of shuubun fuji printer >fuji|using smbclient :\ > :lp=/dev/null:\ > :sd=/var/spool/output/lpd/smb:sh:\ > :lf=/var/log/lpd-errs:\ > :if=/usr/local/libexec/smbprint: Mayhaps adding a rp might help? from printcap(5) rp str ``lp'' remote printer name argument This solved my printing to NT problem from FreeBSD. HTH, -- Jeroen Ruigrok van der Werven/Asmodai asmodai(at)wxs.nl The BSD Programmer's Documentation Project Network/Security Specialist BSD: Technical excellence at its best Distance lends enhancement to the view. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message