lp versus enscript

Robert Nichols rnicholsNOSPAM at comcast.net
Wed Mar 16 22:32:32 UTC 2011


On 03/16/2011 05:15 PM, Aaron Konstam wrote:
> 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"

Hmmm, "not prima[r]ily a printing program," but by default sends its output
to the system's default printer???

OK, if you wish.

-- 
Bob Nichols     "NOSPAM" is really part of my email address.
                 Do NOT delete it.



More information about the users mailing list