How do you get good line spacing with lpr?

Posted by dan on Stack Overflow See other posts from Stack Overflow or by dan
Published on 2011-01-15T19:46:50Z Indexed on 2011/01/15 19:54 UTC
Read the original article Hit count: 122

Filed under:
|

I'm using lpr with the following flags:

lpr -o cpi=12 -o lpi=8 -o page-left=36 -o page-top=36 -o page-bottom=36 

But the lines appear too close together. But if I decrease lpi to 6 or something, the font just gets taller. What I really want is control over the amount of space between the lines.

My makeshift solution is to insert blank lines in the document using sed G, but ideally I would like to achieve 1.5 line spacing instead of full double-spaced. Is this possible?

© Stack Overflow or respective owner

Related posts about unix

Related posts about lpr