> I am looking at using CFX_PDF to generate the output for my
> prescription
> application as I can use it to accurately place text element on the
> page,
> and generate new pages etc based on <cfif> statements. Is there any
> other
> way ?? I have considered using a Crystal Reports file, but then I need
> to
> install CR on my Coldfusion server.
>
>
>
> Just looking for ideas for something to generate print output from a
> web
> page. Thanks
>
You could use HTMLDoc to generate a PDF via a custom tag like Michael Schieber's cf_html2pdf3 or Jordan Michael's cf_CreatePDF. Then you just have to encapsulate your output between the opening and closing pdf generator tags. For example with cf_html2pdf,
<CF_HTML2PDF3 myHTMLDOC="c:\cfusion\htmldoc.exe" OPTIONS="--landscape --fontsize 10pt">
<TABLE>
//--- Output the results of your query ---//
<CFOUTPUT QUERY="myQuery">
<TR><TD>#myData#</TD></TR>
</CFOUTPUT>
</TABLE>
</CF_HTML2PDF3>
and with cf_createPDF:
<CF_CreatePDF>
<!-- content you want converted to PDF -->
</CF_CreatePDF>
hth,
larry
--
Larry C. Lyons
Web Analyst
BEI Resources
American Type Culture Collection
email: llyons(at)atcc(dot)org
tel: 703.365.2700.2678
--
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- Print Output Paige Chandler
- print output Brant Winter
- RE: print output Larry Lyons
- RE: print output Brant Winter
- Re: print output Larry Lyons
- Re: print output dave
- RE: print output Brant Winter
- Re: print output Qasim Rasheed
- Re: print output Jim Louis