File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
printing page in landscape without changing preferences.
Joined: Jan 20, 2010
Jun 16, 2010 05:01:42
I would like to print a Web page in landscape mode. When I use window.print() function it prints default in Potrait mode.
I need to print the Web page in Landscape mode with out asking the user to change the setting.
Thanks in adavance..
Joined: Nov 08, 2001
Jun 16, 2010 05:42:06
It can not be done in the current state of the web. With CSS3 it is able to be specified.
Joined: Jun 10, 2010
Jun 30, 2010 05:38:27
Even i have the same issue.. can some one please help me with this. can you suggest me with alternatives?
I agree. Here's the link:
subject: printing page in landscape without changing preferences.
Using CSS to default print style to landscape
Printing from a jsp page- java attributes...?
Printing or rendering in landscape format
Printing in Landscape
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015