?
Solved

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

Posted on 1998-06-18
3
Medium Priority
?
1,775 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

In my daily work (mainly using ASP.net), I need to write a lot of JavaScript code. One of the most repetitive tasks I do are the jQuery Ajax calls. You know: (CODE) I don't know if for you it's the same, but for me is soooo tedious to write the …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
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…
Suggested Courses

770 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