Solved

Printing Landscape in HTML document

Posted on 2002-05-14
6
190 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

919 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

21 Experts available now in Live!

Get 1:1 Help Now