Skip to main content
Participant
August 4, 2009
Question

how to generate pdf format statement

  • August 4, 2009
  • 1 reply
  • 769 views

Hi All,

I am new to couldfusion development.Recently we got one requirement like already we had users statements(it's working fine) avilable in HTML format.

But we want to generate the same file in PDF format.

we are using couldfusion MX 6.1.i found some tag like <cfdocument> i tried with this but i am getting error like "unknown tag".

Any body help me on this one.

Thanks

Kishore

    This topic has been closed for replies.

    1 reply

    Inspiring
    August 4, 2009

    Hi Kishore,

    Welcome to ColdFusion!...

    It is throwing that error since that <cfdocument> tag is only available from version MX7 and above.

    Try the iText library, which is free and available at,

    http://www.lowagie.com/iText/

    And for using that library along with CF (for generating PDF documents) there is one nice tutorial available at,

    http://cephas.net/blog/2004/03/14/using-itext-pdf-coldfusion/


    HTH

    Participant
    August 5, 2009

    Hi,

    Thanks for your quick response.i am very happy with that.Now i am doing work on that only.

    My question is

                 is there any tag to create PDF format(like <cfdocument>), to avoid   scripting couldfusion.

    Could u please help me on the same.

    Thanks

    kishore

    Inspiring
    August 6, 2009

    Hi Kishore,

    Since you are using 6.1, the options are very limited....

    I found this custom tag in Adobe exchange, Please give it a try...

    http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&extid=1001858#

    HTH