Subject: Re: print filters
To: None <rmk@rmkhome.com>
From: David Brownlee <abs@netbsd.org>
List: netbsd-users
Date: 06/04/2000 10:09:05
You probably want to write a small shell script that calls
enscript with the appropriate arguments, '-p -', or just
follow the printing help in the quite excellent NetBSD guide :)
http://www.mclink.it/personal/MG2508/nbsdeng/chap-print.html#AEN1087
David/absolute
-- www.netbsd.org: No hype required --
On Sat, 3 Jun 2000, Rick Kelly wrote:
>
> I'm looking for a simple ascii2ps or "Sun ascii" to "DOS ascii" filter
> that I can use in /etc/printcap.
>
> The printer is connected to i386 box running NetBSD 1.4.1.
>
> I want a couple of users on Solaris 2.6 to be able to send messages from
> dtmail to this box.
>
> The printer, an Okidata OL810e/PS, understands PCL, Postscript, and
> "DOS ascii".
>
> I just spent 6 hours trying to get a filter working on the Solaris
> side without luck, and I'm now making the attempt on the BSD side.
>
> Tried "of=/usr/local/bin/enscript" in /etc/printcap, but that does
> nothing.
>
> I get this error in /var/log/lpd-errs:
>
> Try `enscript --help' for more information.
> enscript: invalid option -- w
> Try `enscript --help' for more information.
> enscript: invalid option -- w
> Try `enscript --help' for more information.
> enscript: invalid option -- w
>
> Any hints or tips. Or just a small, simple ascii2ps filter?
>
> Thanks in advance!
> --
> Rick Kelly rmk@rmkhome.com www.rmkhome.com
>