Printing Landscape in HTML document

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
LVL 1
pandey5Asked:
Who is Participating?
 
COBOLdinosaurConnect With a Mentor Commented:
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
 
brunoCommented:
NO.
0
 
webwomanCommented:
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
Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

 
brunoCommented:
ahhh there she is.   ;-)  can't resist a printer question, can ya?
0
 
webwomanCommented:
I couldn't disappoint my fans... ;-)
0
 
COBOLdinosaurCommented:
Glad we could help.  Thanks for the A. :^)

Cd&
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.