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_at_sbb.uvm.edu>
fmt -80 < file | lpr
========================================================
George Gallen <ggallen_at_slackinc.com>
what about using fold as your print filter.
or manually.
cat filename | fold -w #cols | lp -dPRINTERNAME
George
===========================================================
stan_at_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_at_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.
=============================================================================
Received on Mon Dec 09 2002 - 17:11:45 NZDT