tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: balaji <balaji@temple.edu>
Subject: SUMMARY: An old question on word wrapping - printers
Date: Mon, 09 Dec 2002 12:10:59 -0500	[thread overview]
Message-ID: <3DF695C4@smaug.ocis.temple.edu> (raw)

Thanx to quickfire reply to all those replied.

Following are the response with the names

Balaji./

Question

Hello,

	I was wondering if there is a way to print a file with big lines
of text ( greater 80 chars) and have it word-wrap as it output on the
paper.
	My problem here is that when I print a file with one line of 200
characters only 80 will appear on the paper and the rest are truncated.


Replies:

========================================================
Steve Feehan <sfeehan@sbb.uvm.edu>

fmt -80 < file | lpr

========================================================
George Gallen <ggallen@slackinc.com>

what about using fold as your print filter. 
or manually.

cat filename | fold -w #cols | lp -dPRINTERNAME

George 
===========================================================

stan@temple.edu


Balaji, if printing to a poscript printer, I suggest you check out the
    pform utility. This utility has an option to do what you want. I use it
    all the time in Pine (via my default configuratio) to pipe email text to
    pform then printing it. This method works nicely and long lines wrap.
=========================================================================
Selden E Ball Jr <SEB@LNS62.LNS.CORNELL.EDU>


Use a2ps as a filter.
    See http://www.infres.enst.fr/~demaille/a2ps/

    I hope this helps.

    Selden
    ======
    Selden E. Ball, Jr.

=============================================================================



                 reply	other threads:[~2002-12-09 17:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox