1. eprint.e and line wrap
- Posted by Ferlin Scarborough <ferlin at SANDW.NET> May 20, 1998
- 694 views
David or Anyone, I am using your EE Editor and when I print a file that has lines > 80 characters long, my printer is set to wrap the line. When I have several lines that wrap on a page the next page will print just a couple of lines and then form feed. I need to know how to increment the line count when a line is > 80 characters in eprint.e? I have not tried to print in condensed print yet, so am unaware of how this behaves in condensed print. TIA (Thanks In Advance) Later: + + + Rev. Ferlin Scarborough - Centreville, Alabama. U.S.A
2. Re: eprint.e and line wrap
- Posted by Joe Phillips <bubba at TXWES.EDU> May 20, 1998
- 671 views
Probably cleaner ways, but this will tell you the number to increment at the time of print. CAUTION: Not Tested function pluscount( integer a, integer b) if floor( a/b) = (a/b) then -- Basically, if remainder = 0 return floor(a/b) else -- Otherwise, increment to cover remaining letters. return floor(a/b) + 1 end if end function -- To Add Each Time. This handles all lengths and will increment only 1 if -- length of printline is less than or equal to desired length linecount = linecount + plusscount(length(printline),80) Joe Phillips, Assistant Director University Computing and Telecommunications Texas Wesleyan University 817-531-4284
3. Re: eprint.e and line wrap
- Posted by David Cuny <dcuny at DSS.CA.GOV> May 20, 1998
- 671 views
The Rev. Ferlin Scarborough wrote: >>... I need to know how to increment the line count >>when a line is > 80 characters in eprint.e? I have not tried to print in >>condensed print yet, so am unaware of how this behaves in condensed >>print. Wow. I didn't know that you could actually print with EE. I had written the code some time back, but never had a printer to test it on. Since the code is based on (read: stolen from) Robert's code, you might want to ask him. Sorry. I'll try to remember to test it in my non-existant spare time, now that I actually do own a printer. -- David Cuny