IE pagesetup property for printersetup through javascript?
-
Hi Friends , I want to set the Internet Explorer's Page Setup Property for printing automatically , when the page is loaded . Means i want to set the margin defalult , so no need to set the margin manually after loading the page when we r going to print the document.And if possible ,i want to set it through javascript. Please , guide me, regarding this. Thankin you, Param -- modified at 3:52 Thursday 7th December, 2006
param
-
Hi Friends , I want to set the Internet Explorer's Page Setup Property for printing automatically , when the page is loaded . Means i want to set the margin defalult , so no need to set the margin manually after loading the page when we r going to print the document.And if possible ,i want to set it through javascript. Please , guide me, regarding this. Thankin you, Param -- modified at 3:52 Thursday 7th December, 2006
param
hi, use the follwing code in section and change the text in BOLD to your values javascript:window.open('http://www.YOUR URL.com','YOUR PAGE TITLE','width=570,height=650,top='+((screen.height/2)-(NaN))+',left='+((screen.width/2)-(NaN))+',toolbar=no,scrollbars=no,resizable=no,menubar=no,status=no,directories=no,location=no'); Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com </x-turndown>