Solved

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

Posted on 1998-06-18
3
1,765 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
  • 2
3 Comments
 
LVL 75

Accepted Solution

by:
Michel Plungjan earned 200 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Hovering effect 9 30
Angular - (very close) following an example 20 36
addressing a specific html page 9 29
jqplot Pie Chart 2 18
Avoid defining the variables in the global scope; trying to define them in a local function scope. Because:   • Look-up is performed every time a variable is accessed.   • Variables are resolved backwards from most specific to least specific scope…
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…

747 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now