From: balaji (balaji@temple.edu)
Date: Mon Dec 09 2002 - 12:10:59 EST
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
===========================================================
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.
=============================================================================
This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:01 EDT