Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 1999 10:27:14 +1300 (NZDT)
From:      Jonathan Chen <jonc@logisticsoftware.co.nz>
To:        Richard Morte <ric@sinclairassoc.force9.co.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Printing FROM FreeBsd to Windows
Message-ID:  <Pine.SC5.4.10.9910041022210.14695-100000@kiwi.logisticsoftware.co.nz>
In-Reply-To: <37F7C71E.ADDB0F41@sinclairassoc.force9.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
[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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SC5.4.10.9910041022210.14695-100000>