Hi,
Can we control the default orientation of page to Landscape or portrait before printing a page from PHP.
Thanks
Control Page Orientation
Moderator: General Moderators
- Kieran Huggins
- DevNet Master
- Posts: 3635
- Joined: Wed Dec 06, 2006 4:14 pm
- Location: Toronto, Canada
- Contact:
Re: Control Page Orientation
nope - it's purely a print dialog option.
Re: Control Page Orientation
I'm not sure whether it will work (browser dependent?)
Code: Select all
<style type="text/css" media="print"> @page port {size: portrait;}@page land {size: landscape;} .portrait {page: port;} .landscape {page: land;} </style> There are 10 types of people in this world, those who understand binary and those who don't
Re: Control Page Orientation
It only works in Opera..
Any way thanks..
Any way thanks..