On Sat, Feb 03, 2001 at 01:36:08PM -0700, [EMAIL PROTECTED] wrote:
> Normally when I print I only print off small 1 page files using lpr -
> today I printed off a larger file and I don't like the output - no top or
> bottom margins and there are about 3 lines printed per page more than
> there are on a page so I get one full page and one page with only 3 lines
> on it, then the system does a page feed, and on and on and on.
> 
> How does one set the default lpr parameters?
> 
> Brad

Well, this is actually a rather arcane thing.  The lpr tools by default
just spit whatever you give them right into the printer port.  It does
provide, however a mechanism for passing the data it receives through a
filter.  This is controlled by the /etc/printcap file.  Most distributions
have some sort of a handy package that installs some sort of user-friendly
way of handling printer filters and such.

I think I'm using magicfilter now, which checks the type of input
that it gets and runs it through an appropriate filter.  This will
run postscript files through ghostscript, text files through a pretty
printer program, etc.  The alternative to using you distribution's way
of handling printers is to read up on /etc/printcap in HOWTOs and write
your own filters and such.  Good luck!

                --Levi
--------------------------------------------------------------------------------- 
To unsubscribe from the BYU UUG discussion mailist list, send email to
[EMAIL PROTECTED] with the word "UNSUBSCRIBE" as the message body

Reply via email to