I want to print a web page from the browser ( File->Print) .Before that i
want to set the margins (top, bottom, right and left) and Papersize
Programatically. All these should be done in client side.

I failed to change that from the javascript ( Is there any solution to do
that from client side sctipt it self?) . But using ActiveX ( using
PRINTER_INFO API) i sucessfully changed my default printr settings. But i
don;t want to change the default settings. I just want to change page setup
of my currect Internet Explorer instance.

My Web Application is a ASP.net c# project for ptinting Template based