wsg wrote:
I'm doing a print style sheet for a reporting system, and I'm trying to figure out if it's possible to force a printer to print in landscape orientation using CSS

Yes, there is something like that in CSS. The W3C have something called Paged Media, see [1]. You could print in landscape just by adding the following clause to the print style sheet:

@page {size: landscape;}

However, sadly browser support is still lacking. The above does not work in Firefox, IE or Safari. Only Opera seems to like it.

[1] http://www.w3.org/TR/REC-CSS2/page.html

Ca Phun Ung
http://yelotofu.com





*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************

Reply via email to