lp versus enscript

Jerry Feldman gaf at blu.org
Wed Mar 16 18:45:54 UTC 2011


On 03/16/2011 11:57 AM, 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?
>
>
Over the years I have used a2ps(1), but enscript should also do the job
for you.

-- 
Jerry Feldman <gaf at blu.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 253 bytes
Desc: OpenPGP digital signature
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20110316/d7eea147/attachment.bin 


More information about the users mailing list