MS word marigns

Print |Content-Type:application/msword| 'Triggers the save/open prompt instead of embedding the spreadsheet in the browser

Print |Content-Disposition: Attachment; filename="Report.doc"|

I have used this above code in agent to export the data into word from webpage. Now I want to set the top, right, left, bottom margins. How can i do that?

I have used

Print ||

But margins are still the same.

Please suggest…

Thanks