showPrintPreview in onLoad event

I have a report that consists of:

-Header (just a label in this section)
-Trailing Subsummary (item_id, qty_aggregate)
-Trailing Grand Summary (qty_aggregate)

The report looks fine if I go into Preview mode from the menu. However, when I’m looking at the normal form view, it doesn’t show any of the item_id’s with their associated qty_aggregates showing. It does show the Trailing Grand Summary on the normal form view though, and it is at the bottom, so it looks like there’s space being consumed on the page for the lines, but nothing shows.

I created a method that sorts the foundset and then calls currentcontroller.showPrintPreview(). I put the method on the “onLoad” event, but it never fires into Preview mode.

Is there a way to start a form in Print Preview mode?

print preview does not generate any events, there for no script is executed