View Full Version : printing the webpage in landscape
04-11-2005, 06:12 AM
When we use window.print();,it prints the webpage taking the orientation as portrait.But i want it in landscape.We can do this mannually by setting the print format.But i want this to be done programmatically.Is it possible?
If yes,please help me in doing that.
04-11-2005, 08:43 AM
Technically, it is possible for IE to utilize print template behaviors (C++).
The Windows Common Dialog Control and Windows Management Instrumentation provide interfaces for setting print properties from JScript (but are restricted to use with MSHTA, or WSH).
04-11-2005, 09:56 AM
04-11-2005, 10:54 AM
if you use CSS paged media, you can set up the printer to print in landscape.
04-11-2005, 12:05 PM
I even tried with css2,but i could not make it.so please help me inthis.
04-12-2005, 05:15 AM
04-12-2005, 05:33 AM
I read somewhere that only Opera supports "size" orientation...
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.