NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Use network printer from NetBSD
On giu 26 18:37, MLH wrote:
> > > Then added the following to /etc/printcap :
> > > lp|Brother HL-5250DN:\
> > > :lp=:rp=brother5250:rm=brother5250:sd=/var/spool/output/lpd:\
> > > :if=/root/scripts/psonly600-filter:\
> > > :lf=/var/log/lpd-errs:mx#0:
> misfired
>
> :if=/usr/pkg/libexec/magicfilter/psonly600-filter:\
Sorry, I noticed your messages, but forgot to perform these tests.
The last line of the current psonly600-filter isn't (even now) the same
as your 2008 modification. It is (at least in my case):
`default pipe /usr/pkg/bin/a2ps -1 -B --borders=no -o -'
So, I did as follows:
- installed just magicfilter and used the /etc/printcap file as you
suggested, in particular with
`if=/usr/pkg/libexec/magicfilter/psonly600-filter' (unmodified);
- installed also enscript and created a `psonly600alt-filter' where the
last line is exactly the one of your modification:
`default pipe /usr/pkg/bin/enscript -B -p-'
In both cases, the printer generated only a long series of blank pages
(I stopped it manually). The /usr/pkg/libexec/magicfilter/ directory
contains a lot of filters; if you think that some other could be worth
testing, let me know.
In any case, thank you so much!
Rocky
Home |
Main Index |
Thread Index |
Old Index