http://qs321.pair.com?node_id=766897


in reply to Re: Supressing page breaks in forms
in thread Supressing page breaks in format/write output

Sorry, I should have provided more detail.

I am outputting nicely formatted text files with tables of data and statistics.

These get emailed to people and are also available by going to report pages on web pages that contain statistics and reports.

So all I want to do is not have page breaks inserted into my formatted output. In both email and on the web pages that people will see the columns of output, they can just scroll.

So the problem simply is, how can I write out many lines of formatted output without having page breaks automatically inserted?

I tried setting $- to 200 after each write, as suggested by Albannach above, but that doesn't seem to be doing the trick either. I'm still getting page breaks with headers repeats.

This must be possible to do. If I were printing on legal-size paper instead of letter, I'd want more lines on the page between breaks. How can I set the number of lines in the output I'm generating with format/write?