|
Posted by smallpond on March 27, 2008, 6:00 pm
Please log in for more thread options > Hi,
>
> Trying to understand if we have a mechanism to copy multiple files
> ( txt files ) to a single file (say abc.txt) with each file residing
> in single page. Each input file is large enough to fit into a single
> page. I have tried using perl format's like $- and other mechanism in
> vain.
>
> Is there a way to insert a page character after reading each file or
> seperate each file into different pages? Any suggestions other than
> adding "\n" is greatly appreciated..
>
> The goal of this exercise is to convert the single file (abc.txt) to
> postscript file and then to pdf using ps2pdf utility.. Can't use cpan
> modules as some of these input files contain unicode characters...
>
> This post is more verbose but repeated as the earlier post didn't
> appear in the group..
>
> Thanks for your patience,
> -Wg.
You can try inserting form feed = chr(12) which some conversion
utilities will interpret as a page break according to the ASCII
chart on my pocket protector.
--S
|