...

View Full Version : Printing pages with ASP



telmessos
05-04-2007, 05:19 PM
Hi All,

I have some ASP pages and I want to put a Print link to the page. My problem is Internet Explorer's Print margins. Is there a way of arranging the page margins automatically with the code? And is it possible not to show the print button on the printed page?

Thanks

glenngv
05-04-2007, 06:43 PM
Print margins are browser settings, Javascript or any scripting language has no access to it.

But to hide certain elements when the page is printed is possible using CSS (http://www.javascriptkit.com/dhtmltutors/cssmedia.shtml).



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum