From owner-freebsd-questions Sun Oct 3 14:38:56 1999 Delivered-To: freebsd-questions@freebsd.org Received: from logisticsoftware.co.nz (logisticsoftware.co.nz [202.37.163.1]) by hub.freebsd.org (Postfix) with ESMTP id B6F5D1528A for ; Sun, 3 Oct 1999 14:38:49 -0700 (PDT) (envelope-from jonc@logisticsoftware.co.nz) Received: (from jonc@localhost) by logisticsoftware.co.nz (8.9.3/8.9.3) id KAA16568; Mon, 4 Oct 1999 10:27:15 +1300 (NZDT) Date: Mon, 4 Oct 1999 10:27:14 +1300 (NZDT) From: Jonathan Chen To: Richard Morte Cc: freebsd-questions@freebsd.org Subject: Re: Printing FROM FreeBsd to Windows In-Reply-To: <37F7C71E.ADDB0F41@sinclairassoc.force9.co.uk> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG [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. --------------------------------------------------------------------- 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