From: Johan Förberg on 11 May 2010 17:39 On Tue, 11 May 2010 21:27:43 +0000, J G Miller wrote: > If you want to fancify your text files into something nicer, have a look > at a2ps. > > GNU a2ps - 'Anything to PostScript' converter and pretty-printer That was good because lpr seems to truncate lines around column 75 on my printer, which is inconvenient given my habit to wrap at 79. Thank you again Johan
From: despen on 11 May 2010 20:03 Johan F�rberg <johan(a)forberg.se> writes: > On Tue, 11 May 2010 21:27:43 +0000, J G Miller wrote: > >> If you want to fancify your text files into something nicer, have a look >> at a2ps. >> >> GNU a2ps - 'Anything to PostScript' converter and pretty-printer > > That was good because lpr seems to truncate lines around column 75 on my > printer, which is inconvenient given my habit to wrap at 79. Along the same lines "enscript".
From: The Natural Philosopher on 12 May 2010 00:31 John Hasler wrote: > Johan Förberg writes: >> I was wondering if there exists a simple solution for printing text >> from the console. > > lpr lp these days IIRC. LPR is BSD. man lp is your friend.
From: Chris F.A. Johnson on 12 May 2010 00:40 On 2010-05-12, The Natural Philosopher wrote: > John Hasler wrote: >> Johan F??rberg writes: >>> I was wondering if there exists a simple solution for printing text >>> from the console. >> >> lpr > lp these days IIRC. Both are current; there are some differences between them. > LPR is BSD. > > man lp is your friend. As is 'man lpr'. -- Chris F.A. Johnson, <http://cfajohnson.com> Author: Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress) Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)
From: AZ Nomad on 12 May 2010 00:48 On Wed, 12 May 2010 05:31:12 +0100, The Natural Philosopher <tnp(a)invalid.invalid> wrote: >John Hasler wrote: >> Johan Förberg writes: >>> I was wondering if there exists a simple solution for printing text >>> from the console. >> >> lpr >lp these days IIRC. >LPR is BSD. >man lp is your friend. so is 'man -k', as in 'man -k print' or 'man -k print|grep file'
First
|
Prev
|
Pages: 1 2 Prev: logical AND and OR with grep? Next: kudzu and renaming of network files |