Solved

Printing Landscape in HTML document

Posted on 2002-05-14
6
189 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
Comment Utility
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
Comment Utility
NO.
0
 
LVL 19

Expert Comment

by:webwoman
Comment Utility
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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 18

Expert Comment

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

Expert Comment

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

Expert Comment

by:COBOLdinosaur
Comment Utility
Glad we could help.  Thanks for the A. :^)

Cd&
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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 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…

743 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

17 Experts available now in Live!

Get 1:1 Help Now