ColdFusion: CFDocument help

Not sure but the <cfdocument> tag can print pdfs on my localhost, but not on the host that I am using.


<cfdocument format="pdf"  
        
            filename = 'ex.pdf'
                >
sdfsdf            
</cfdocument>

I even called the host and they acted as if it were a scripting issue. My code is perfect and I’m not missing anything. I just need to know why it is not functioning the way it is suppose to. Help, please.