lp versus enscript

Aaron Konstam akonstam at sbcglobal.net
Wed Mar 16 22:15:21 UTC 2011


On Wed, 2011-03-16 at 11:57 -0400, Robert Moskowitz wrote:
> I needed to print and Internet Draft 2 sided and two up.  My colleague 
> suggested lpr, but that does not have enough options, but I figured out 
> how to use lp:
> 
> lp -d HP-Officejet-8500 -o sides=two-sided-short-edge -o number-up=2 
> RFC5201-bis.txt
> 
> But then he came back and said enscript is better and to use
> 
> enscript  -2r -PHP-Officejet-8500 RFC5201-bis.txt
> 
> enscript does not come installed with F14; so I would have to install 
> it.  I did a search for an online man page...
> 
> This does not seem to provide 2 sided.  According to the man page it 
> looks like I need to add
> 
> -DDuplex:true
> 
> So in what way is enscript better than lp?  What neato things do I gain 
> by using it?
> 
> 

enscript is not primaily a printing program, but it can print a file. It
is primarily a program to convert a testfile into Postscript, etc as the
firwst line in the man page indicates.

" enscript - convert text files to PostScript, HTML, RTF, ANSI, and
over‐strikes"

-- 
=======================================================================
Only those who leisurely approach that which the masses are busy about
can be busy about that which the masses take leisurely. -- Lao Tsu
=======================================================================
Aaron Konstam telephone: (210) 656-0355 e-mail: akonstam at sbcglobal.net



More information about the users mailing list