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 interested in a PostScript/PDF module from CPAN...
-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/