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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to set default page orientation to Landscape

Status
Not open for further replies.

atagore

Programmer
Joined
Mar 13, 2006
Messages
6
Location
US

I am a novice...
Is there some JavaScript code that will set IE browser default print orientation to LANDSCAPE and the 4 page margins to .75 ?
This code will allow the end-user to simply click on the WEB browser print icon and walk to the printer without having to use the File=>Page Setup dialog window...

Thank you!

Andy Tagore
atagore@lcsnet.cc
 
Nope, sorry.


as a side note, you could do this using ActiveX which means

1) it will work in IE only
2)they will get a message saying someone is trying to hijack their system
3) you'd have to set up another script to change their settings back to normal which I don't know if you can capture those values or not
4) after all that trouble, it's just as easy to put a note on their page to change the settings themselves

-kaht

Looking for a puppy?

silky-icon-left.gif
[small]Silky Terriers are small, relatively odorless dogs that shed no fur and make great indoor pets.[/small]
silky-icon-right.gif
 

You can't do this without a third party control. At least that's how I understand it.
 
Check out this FAQ: faq215-5803


At my age I still learn something new every day, but I forget two others.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top