Solved

Printing Landscape in HTML document

Posted on 2002-05-14
6
191 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
  • 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

773 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