Re: Prints only PostScript files
The psonly600 filter should already invoke enscript for text files
(enscript is the default for files which don't fit any of the other
filter criteria). I believe enscript defaults to 2-up, but the filter
can be edited to change this. ps600-filter does not use enscript,
however (they also differ in how they process PDF files).
A simple 'lpr file.txt' works for me, at least.
On Wed, Oct 18, 2000 at 12:57:03AM -0700, Dwight Johnson wrote:
> Answered my own question.
>
> The answer here appears to be the enscript package.
>
> Dwight
>
> On Wed, 18 Oct 2000, Dwight Johnson wrote:
>
> > I am able to print PostScript files with:
> >
> > $ lpr file.ps
> >
> > to my PostScript printer on my Debian 2.2 system.
> >
> > But I am unable to print plaintext files with:
> >
> > $ lpr file.txt
> >
> > What packages or configuration am I missing to convert plaintext files to
> > PostScript and send them on to the printer.
> >
> > My previous Slackware, SuSE and Red Hat systems have all been configured
> > out of the box to do this automatically.
> >
> > The strange thing to me is that I did have this working before I started
> > working on the problem of why my printer was printing an extra page on
> > every print. So maybe I glitched something with my configuration
> > experiments.
> >
> > My current printcap (created with magicfilter) is:
> >
> > lp|hplj5mp|HP LJ 5MP:\
> > :lp=/dev/lp0:sd=/var/spool/lpd/hplj5mp:\
> > :sh:pw#80:pl#66:px#1440:mx#0:\
> > :if=/etc/magicfilter/psonly600-filter:\
> > :af=/var/log/lp-acct:lf=/var/log/lp-errs:
> >
> > Thanks in advance,
> > Dwight
> > --
> > Dwight Johnson
> > dwj@aaronsrod.com
> >
> >
> > --
> > Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> >
>
>
> --
> Unsubscribe? mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
--
Bob Nielsen, N7XY nielsen@oz.net
Bainbridge Island, WA http://www.oz.net/~nielsen
Reply to: