Hi,
I need to set the page length dynamically in the data report. Any way to do it?

Need:
I wish to generate a invoice bill with food items. Based on the items the bill length varies. Thats why i need.

Or

Any other ways to accomplish the above thing.

Advance thanks,
Senthil