Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

How can I change the page setup to landscape using Javascript?

Posted on 1998-06-18
3
Medium Priority
?
1,778 Views
Last Modified: 2008-02-01
I need to be able to change the page setup of the web browser window to landscape without the user having to go into Internet Options.  I need to implement this in IE4, IE3, and Netscape 4.  Any ideas?
0
Comment
Question by:saustin44
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 600 total points
ID: 1265851
Yes, from the browser itself: forget it...

Rightly so, I would be rather annoyed if you messed with my printer settings...

If you need the page to be prepared for landscape, make a table with absolute width=height of a letter or A4 but be sure it still will print on a machine with different resolution

Sorry to disappoint you.

Michel
0
 
LVL 75

Expert Comment

by:Michel Plungjan
ID: 1265852
PS: The printer settings are not part of the browsers but part of the printer driver

Michel
0
 

Author Comment

by:saustin44
ID: 1265853
Thanks Michel!  That confirms what I already thought.  I would also be annoyed if someone changed my printer settings from a web page, and I would consider it a security violation.  However, you know users.  :)
I did find somewhere where you could set a "page:landscape" setting in a stylesheet, but it did not work when I tried it.

Thanks again!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In Part 1 (http://www.experts-exchange.com/Programming/Languages/Scripting/JavaScript/A_7849-Hex-Maze.html) we covered the hexagonal maze basics -- how the cells are represented in a JavaScript array and how the maze is displayed.  In this part, we'…
Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question