You can use good old fashioned css to do this :) You can specify if a css is for print or for displaying on a screen, some articles about how and what:
http://webdesign.about.com/cs/css/a/aa042103a.htm http://meyerweb.com/eric/articles/webrev/200001.html ----- Original Message ----- From: "Prashanth Ganesh Rayakar" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Wednesday, November 23, 2005 7:49 AM Subject: [AspNetAnyQuestionIsOk] Setting Page Margins for page, before print out. > > Hi, > > I need help in setting page margins before print out a page. > I need to set this dynamically in code. > Basically I have a page , that is loaded on click of a button on > another page, and which displays print out option on page load. (using > onload=window.print(). ) > Any help is greatly appreciated. > > Thanks and Regards > Prashanth > > > > > **************** CAUTION - Disclaimer ***************** > This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended > solely for the use of the addressee(s). If you are not the intended > recipient, please notify the sender by e-mail and delete the original > message. Further, you are not to copy, disclose, or distribute this e-mail > or its contents to any other person and any such actions are unlawful. > This e-mail may contain viruses. Infosys has taken every reasonable > precaution to minimize this risk, but is not liable for any damage you may > sustain as a result of any virus in this e-mail. You should carry out your > own virus checks before opening the e-mail or attachment. Infosys reserves > the right to monitor and review the content of all messages sent to or > from this e-mail address. Messages sent to or from this e-mail address may > be stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** > > > > > Yahoo! Groups Links > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get fast access to your favorite Yahoo! Groups. Make Yahoo! your home page http://us.click.yahoo.com/dpRU5A/wUILAA/yQLSAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
