Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Landscape as a default set up for printer

Status
Not open for further replies.

taree

Technical User
May 31, 2008
316
US
Can I use the below script to make landscape as a default setup to print. thank you


ClientScript.RegisterStartupScript(Me.GetType(), "onclick", "<script language=javascript>window.open('Print.aspx','PrintMe','height=500px,width=800px,scrollbars=1');</script>")
 
That's Javascript, and has nothing to do with HTML. You would be better served by posting this in the forum216

With that said that script only opens a browser window and points it to a print.aspx page. It really has nothing to do with how the page prints.



----------------------------------
Ignorance is not necessarily Bliss, case in point:
Unknown has caused an Unknown Error on Unknown and must be shutdown to prevent damage to Unknown.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top