How can i change page setup of a browser window programatically.

J

JitheshMenon

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
images.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,997
Messages
2,570,240
Members
46,830
Latest member
HeleneMull

Latest Threads

Top