Fox 9 and PDF Files

Malibucompany
Malibucompany used Ask the Experts™
on
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.?

D

Comment
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
http://www.1amsoftware.com/vfpps2pdf/
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: http://www.bullzip.com/
You can try http://weblogs.foxite.com/vfpimaging/archive/2010/01/31/10127.aspx. Or you can use just the PDFListener that comes with it.
CaptainCyrilFounder, Software Engineer, Data Scientist
Commented:
http://www.computing.net/answers/office/macro-to-save-a-file-in-excel-and-pdf/10992.html

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 www.pdffactory.com once and it worked.
CaptainCyrilFounder, Software Engineer, Data Scientist
Commented:
Commented:
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
Commented:
This is a question, which already has several answers:

http://www.experts-exchange.com/Microsoft/Applications/FoxPro/Q_21498268.html
http://www.experts-exchange.com/Microsoft/Applications/FoxPro/Q_23882673.html
http://www.experts-exchange.com/Microsoft/Applications/FoxPro/Q_20371630.html

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.
http://www.eqeus.com/ 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:
ftp://66.132.144.112/VFP/Print2PDF.zip

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