form as printpreview

Hi,
How can I show a form as printpreview on clicking a button in another form.

I have a form in which I wanted to print only some fields, so I created another form for print. when the user click the print preview button I wanted to open the other form in Print preview mode.

is that possible?

Thanks
~Chandra

never mind got it…

cool… easy…

forms.testenv1.controller.showPrintPreview()

call this method in the main form(testenv).