From owner-freebsd-questions Sun Oct 3 14:55: 3 1999 Delivered-To: freebsd-questions@freebsd.org Received: from revolution.3-cities.com (revolution.3-cities.com [204.203.224.155]) by hub.freebsd.org (Postfix) with ESMTP id 6CCF31541D for ; Sun, 3 Oct 1999 14:54:50 -0700 (PDT) (envelope-from kstewart@3-cities.com) Received: from 3-cities.com (kenn1159.bossig.com [208.26.241.159]) by revolution.3-cities.com (8.9.3/8.9.3) with ESMTP id OAA07564; Sun, 3 Oct 1999 14:49:17 -0700 (PDT) Message-ID: <37F7CF71.F24A5EFB@3-cities.com> Date: Sun, 03 Oct 1999 14:49:37 -0700 From: Kent Stewart Organization: BOSSig X-Mailer: Mozilla 4.61 [en] (WinNT; U) X-Accept-Language: en MIME-Version: 1.0 To: Jonathan Chen Cc: Richard Morte , freebsd-questions@FreeBSD.ORG Subject: Re: Printing FROM FreeBsd to Windows References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Jonathan Chen wrote: > > [Please do *NOT* remove the Cc: freebsd-questions] > > On Sun, 3 Oct 1999, Richard Morte wrote: > > > Thanks for your reply Jonathan, > > > > Could you expand a little? > > > > Within /etc/printcap, you need an entry similar to: > > win95|local line printer:\ > :sh:\ > :lp=/dev/null:\ > :sd=/var/spool/lpd/win95:\ > :if=/filters/push-to-windows:\ > :lf=/var/log/lpd-errs: > > You need to write the script-file "/filters/push-to-windows" so that > that it invokes smbclient to forward incoming stdin to the required > Windows printer. Have you ever tried adding the Unix services for NT so that you don't have to use Samba. I have always thought that netbeui was the dark side of windows and I don't understand people using that when they can download NFS and LPD for NT. If your systems are Win 9x based it is a different matter. Kent > --------------------------------------------------------------------- > Jonathan Chen | Opportunites are seldom labeled > --------------------------------------------------------------------- > > > Jonathan Chen wrote: > > > > > > On Sun, 3 Oct 1999, Richard Morte wrote: > > > > > > > Has anyone discovered if it is possible to attach a shared printer as a > > > > FreeDSD resource so that you can print to it from within applications? > > > > That is, have the shared (windows) printer appear alongside lp, for > > > > example? > > > > > > In your /etc/printcap, define the printer so that it uses an > > > interface script which invokes smbclient. > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html http://daily.daemonnews.org/ SETI (Search for Extraterrestrial Intelligence) @ Home http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message