Is there a simple way of changing the font used by lpr to print out a text file, after say "lpr foo.txt" on a Fedora-18 CUPS printer?
The font in my case is much too small for my eyesight. Any suggestions or advice gratefully received.
On Wed, 2013-05-29 at 19:57 +0100, Timothy Murphy wrote:
Is there a simple way of changing the font used by lpr to print out a text file, after say "lpr foo.txt" on a Fedora-18 CUPS printer?
The font in my case is much too small for my eyesight. Any suggestions or advice gratefully received.
-- Timothy Murphy e-mail: gayleard /at/ eircom.net tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College Dublin
a2ps may help you just need a postscript printer.
Timothy Murphy wrote:
Is there a simple way of changing the font used by lpr to print out a text file, after say "lpr foo.txt" on a Fedora-18 CUPS printer?
The font in my case is much too small for my eyesight. Any suggestions or advice gratefully received.
To follow up to myself, I see I can say eg
lp -o cpi=10 -o lpi=6 Fagan.txt
But I'd still be interested in using a bold font, if that is possible.
Terry Polzin wrote:
On Wed, 2013-05-29 at 19:57 +0100, Timothy Murphy wrote:
Is there a simple way of changing the font used by lpr to print out a text file, after say "lpr foo.txt" on a Fedora-18 CUPS printer?
a2ps may help you just need a postscript printer.
I did try that, but it seemed equally difficult to control, eg to print in larger or smaller font.
On 05/29/2013 10:07 PM, Timothy Murphy wrote:
Terry Polzin wrote:
On Wed, 2013-05-29 at 19:57 +0100, Timothy Murphy wrote:
Is there a simple way of changing the font used by lpr to print out a text file, after say "lpr foo.txt" on a Fedora-18 CUPS printer?
a2ps may help you just need a postscript printer.
I did try that, but it seemed equally difficult to control, eg to print in larger or smaller font.
Use the a2ps options "-f", or the options "-1" .. "-9"
Kind regards
Joachim Backes
Joachim Backes wrote:
a2ps may help you just need a postscript printer.
I did try that, but it seemed equally difficult to control, eg to print in larger or smaller font.
Use the a2ps options "-f", or the options "-1" .. "-9"
Thanks, I'll try that next time.
Incidentally, I found the problem with lpr in my case was that the file I was printing used \r\n for end-of-line (I guess it passed through a Windows system at some point) and lpr printed this with double-spacing. Dos2unix solved that problem.