Will the classes in 'Internet and Client Tools 5.0' fulfil the above requirement?
Thanks
John
Here's an example of how it's integrated into our code. The report is called "Count", and XFRX's 'PrintReport' method uses the Foxpro FRX to create a PDF.
* APPL_PHYSICAL_PATH=c:\inetpub\wwwroot\fpp\
m.cFilePath=request.servervariables('APPL_PHYSICAL_PATH')
m.cFileName=[images/count]+[-]+SYS(3)+[.pdf]SET REPORTBEHAVIOR 90
oPDF = CREATEOBJECT("wwXFRX9")
oPDF.nEmbeddingType =1
oPDF.lResetPageNo =.t.
oPDF.PrintReport([Count],m.cFilePath+m.cFileName)IF NOT EMPTY(oPDF.cErrorMsg)
response.writeln([<p>Error creating PDF: ]+oPDF.cErrorMsg + felweb.xfrxErrorMsg +[</p>])
ELSE
* link to PDF, then auto-open the PDF
response.writeln([<p><a href="]+m.cFilename+[" target="_blank">]+;
[View/print the Parts Inventory Count PDF</a></p>])
endifoPDF = .null.
RELEASE oPDF
ENDIF
The PDF-only version of XFRX is $149. It's rock-solid, and I would highly recommend it.
.. Geoff
I need to transparently and without operator intervention, produce a PDF from a FRX generated report.
Will the classes in 'Internet and Client Tools 5.0' fulfil the above requirement?
Thanks
John
I'll echo Geoff's comment. XFRX is very fast (much faster than most other solutions as it doesn't actually print to the print spooler), reliable and well worth the money.
If you want a free solution you can use GhostScript which works fairly well.
XFRX and Ghostscript both are supported through wwPDF (wwXFRX and wwGhostScript classes) as well as a few others. But these two are generally the one I'd recommend for each end of the spectrum. If you're going to spend money on a PDF writer, you can't go wrong with XFRX IMHO.
+++ Rick ---
I need to transparently and without operator intervention, produce a PDF from a FRX generated report.
Will the classes in 'Internet and Client Tools 5.0' fulfil the above requirement?
Thanks
John
West Wind Technologies
Making waves on the Web
from Maui