Solved

Printing Landscape in HTML document

Posted on 2002-05-14
6
194 Views
Last Modified: 2010-04-09
Hi,

  Is there some way in HTML through which i can change the printer page property to landscape. I want to insert a button in the HTML document for printing, whenever a user clicks that button i want the printing page to be oriented to landscape always. Is it possible?
  I saw @page property of css2, but it seems that it doesn't works in any browser.

Thanks,

-Pandey
0
Comment
Question by:pandey5
[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
  • 2
  • 2
6 Comments
 
LVL 53

Accepted Solution

by:
COBOLdinosaur earned 200 total points
ID: 7008372
No you cannot change the printer properties from a web page.  If the page needs to be printed in landscape then either give teh user instructions on how to print the page, or turn the page into a printer fiendly format like PDF.

BTW,

You have a number of open questions dating back many months.  If you continue to that pattern you may find that the experts become reluctant to offer their time to you.

Cd&
0
 
LVL 18

Expert Comment

by:bruno
ID: 7008761
NO.
0
 
LVL 19

Expert Comment

by:webwoman
ID: 7008803
That property doesn't work in any browser, far as I know.

You don't control the user's printer. They do. And a good thing, too. ;-)

So NO, you can't do what you want.
0
Are You Using the Best Web Development Editor?

The worlds of web hosting and web development are constantly evolving. Every year we see design trends change, coding standards adapt and new frameworks/CMS created. With such a quick pace of change it’s easy to get lost trying to keep up.

See if your editor made the list.

 
LVL 18

Expert Comment

by:bruno
ID: 7008817
ahhh there she is.   ;-)  can't resist a printer question, can ya?
0
 
LVL 19

Expert Comment

by:webwoman
ID: 7009414
I couldn't disappoint my fans... ;-)
0
 
LVL 53

Expert Comment

by:COBOLdinosaur
ID: 7010719
Glad we could help.  Thanks for the A. :^)

Cd&
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
This article discusses four methods for overlaying images in a container on a web page
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

623 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