Changing orientation via a stylesheet
This magic CSS code is able to change the orientation of the printed page:
@page port {size: portrait;}
@page land {size: landscape;}
.portrait {page: port;}
.landscape {page: land;}
For more information, take a look to the CSS Print Profile specification
I thinked it was not possible to define printing orientation via a simple CSS! A very nice discovery indeed…