Re: File Handling problem.

2008-03-28 Thread Ben Bullock
On Mar 28, 1:35 am, [EMAIL PROTECTED] (Ay) wrote: > Hi, > > Current task requires me to combine a few files into a single file > ( abc. txt ) where in each file has to be in a single page. I was able > to create a combined file, but not able to ensure that each file > resides in a page. Attempted a

Re: File Handling problem.

2008-03-27 Thread yitzle
Text files don't /have/ "pages". The number of lines per page depends on the printer driver -> the font size, margin size, etc. If you know the number of lines the print driver does per page, you can fill to that point with newlines based on the number of lines already outputted. Or you might be in

File Handling problem.

2008-03-27 Thread AY
Hi, Current task requires me to combine a few files into a single file ( abc. txt ) where in each file has to be in a single page. I was able to create a combined file, but not able to ensure that each file resides in a page. Attempted a few things like 'format_lines_left' i.e $-. in vain... One