Fox 9 and PDF Files

Malibucompany used Ask the Experts™
Does anyone know how to get the report writer to output into PDF format??  Easy enough to out put to a text file :
REPORT FORM c:\westwind\payroll\payrollreport1.frx tO FILE c:\westwind\payroll\employeereports\bray.txt ASCII

I tried PDF dosn't look like it supported which does not suprise  me at all.

Anyone ever able to output to PDF??  If so how did you do it.?


Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
I use this free solution in my apps:

Free PDF Maker for Visual FoxPro
Beside the solution tailored to VFP you may use PDF printer driver which then works for any Windows application. You may use e.g. free BullZip printer driver:
You can try Or you can use just the PDFListener that comes with it.
CaptainCyrilFounder, Software Engineer, Data Scientist

I could not find the xlFormatPDF value that saves in Office 2007 as PDF in automation. I don't know if Microsoft allows this feature. However, you can always use a printer driver.

I used once and it worked.
CaptainCyrilFounder, Software Engineer, Data Scientist
As proposed by PcElba, free Bullzip printer driver is one of the best i ever used. It comes with very easy to implement COM interface.
Olaf DoschkeSoftware Developer
This is a question, which already has several answers:

You'll also find some solutions mentioned not using a PDF printer driver, but it's the easiest and cheapest solution, no programming needed, the user just needs to choose the PDF printer to generate a PDF file. And that works with anything printing, not only VFP and VFP reports.

Bye, Olaf. has worked for me very well for years. It has a report viewer and all sorts of outputs. All native Fox code without installing anything else.

I've not used the newer features as the version I use is quite a few years old now and I rejigged it into my own viewer, but in terms of being able to create one normal Foxpro report file, then stick 3 buttons on a form - print, preview, pdf - and not having the user install drivers, it's spot on.
If you are able to install a generic PS driver the print2pdf solution (you can find on any foxpro user group) works great.. .allows you to
programatically define the file name etc.. uses ghostscript fonts...
You can find it:

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial