# ColdFusion: CFDocument help

**URL:** <https://forum.kirupa.com/t/coldfusion-cfdocument-help/264364>\
**Category:** programming\
**Created:** [June 25, 2008, 1:04pm UTC](https://forum.kirupa.com/t/coldfusion-cfdocument-help/264364 "2008-06-25T13:04:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bear](https://avatars.discourse-cdn.com/v4/letter/b/ac8455/32.png) [@bear](https://forum.kirupa.com/u/bear)\
**Post date:** [June 25, 2008, 1:04pm UTC](https://forum.kirupa.com/t/coldfusion-cfdocument-help/264364/1 "2008-06-25T13:04:34Z")

</div>

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

```auto

<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.
