HI ,We have a requirement , in which we have to change the paper type i.e. "A2" , "A3","A4" etc. while printing using a JavaScript. I have written a code like this : xfa.form.form1.pageSet.Page1.medium.stock = "A2"; But this is not working. please help me out. Thanks,Bhaskar.