PDF creation using ColdFusion and CSS

Does anyone know how to force a pdf that is dynamically created using ColdFusion 7 to print out in landscape view. I tried using the @page attribute landscape but seems IE 6 doesn't support it. Any ideas on good pdf priniting tips or tricks with css?
asaworkerAsked:
Who is Participating?
 
gdemariaConnect With a Mentor Commented:

I work with IE 6 all the time, and most of my reports are landscape.  Here are the two commands I have used both are in production and I have never had a comment that they are not showing up correctly..


<cfdocument pagetype="letter"
            format="PDF
            unit="IN"
            marginbottom="0.5" margintop="0.8"
            filename="#variables.filename#"
            overwrite="yes"
            fontembed = "Yes"
            orientation="landscape"
            encryption = "none"
            scale="90"
             >




<cfdocument
            pagetype="custom"
            format="PDF"
            filename="#variables.filename#"
            orientation="landscape"
            pagewidth="8.5"
            pageheight="11.0"
            unit="IN"
           marginbottom="0.5"
           margintop="0.8"
            encryption = "40-bit"
            permissions = "AllowPrinting"
            overwrite="yes"
            fontembed = "Yes"
            >

0
 
gdemariaCommented:

 you can set the type to custom and then enter the height and width to match the size of the paper held horizontally
0
 
asaworkerAuthor Commented:
I find information that IE 6 didn't support the @page attribute at all. Any other tips or tricks?
0
 
gdemariaCommented:

 what is the "@page" attribute?   Are you not using cfdocument to do your pdf ?

 Perhaps post your code..
0
 
asaworkerAuthor Commented:
@page is for css 2/3 for printing
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.