arendt73
asked on
Page defaults to landscape print
I have a report page that the only way to properly view all data is to print it in landscape mode. But this requires the user to go through a page setup and selection of landscape to properly print.
Is there a way that when this report is generated and the user clicks on the printer icon, it automatically defaults the page setup size to landscape?
Can this be done through CSS? If so, what would the code look like?
Thank you in advance for your help.
Is there a way that when this report is generated and the user clicks on the printer icon, it automatically defaults the page setup size to landscape?
Can this be done through CSS? If so, what would the code look like?
Thank you in advance for your help.
Actually, you should be able to do this.
Try this:
body {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Mi crosoft.Ba sicImage(r otation=3) ;
}
Try this:
body {
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
filter: progid:DXImageTransform.Mi
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Cd&