Problem with ShellExecute

I am using shellexecute to open up the webform into word. I want to know that how can I do the pagesetup and other formatings of the word page.

Code used :-

var ecode=document.forms[0].empcode.value;

var obShell = new ActiveXObject(“Shell.Application”);

obShell.ShellExecute(“WINWORD.exe”, “http://servername/databasename/FormTemplate?readform&empcode=”+ecode, “”, “open”, 1);

What javascript code has to be added into above code so as to increase or decrease the pagesetup left, right, top, bottom margins.

Thanks for help.