Click to See Complete Forum and Search --> : CSS To Print Landscape?


webdev1
03-05-2003, 02:55 PM
Someone told me you can use CSS to force a webpage to print landscape. Does anyone know how to do this? What I want to do is the following: I want to open a report (cfm page) and then I'm using Javascript to print it and then close it. I need to somehow specify to print Landscape without going to File, Page Setup, Landscape, b/c the user may not realize this needs done. Any suggestions? Thanks.

Robert Wellock
03-06-2003, 09:04 AM
Maybe:

<style type="text/css">
<!--
@page { size: landscape; }
-->
</style>