Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Wrap text out to lp 1

Status
Not open for further replies.

razalas

Programmer
Apr 23, 2002
237
US
I have some text files with record lengths up to 512 characters. I want to lp these files to a printer but I want the text to "wrap" at 80 characters. That is, any characters after position 80 should not be truncated, but rather print on the next line.

I'm sure there must be a simple way to do this, but I'm not finding it. Any suggestions would be appreciated.

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas
 
man fold

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
PHV,

that was it!

Thanks!

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top