Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

foxpro to pdf

Cybermens

Programmer
Mar 25, 2025
15
I am using win2pdf to create pdf from a report generated on foxpro fos dos. Win2pdf can automatically save as pdf without the user giving a filename. Now i want to get this thing one step ahead. I want the pdf filename to be based on one of the fields results of that report automatically.
 
I understand you were getting both Win10 32bit and DOSBO-X working. I also understand you previously were already using your applicaiton under XP. How were and are you printing? FRX, Using ?? or @say?

If you're going the DOSBOX-X route you have a lot of options:

If you're going the Windows10 32bit route, I assume you can make use of the Windows printers, though was 2.6 actually allowing SET PRINTER TO NAME <<Windowsprintername>> and printing in the Windows environment? The DOSBOX-X documentation suggest you'd be printing to a port and need to use some third party solution among possibly other things to route output to LPT1 or others to a printer.

You're not very communicative about what you already have and do, but I guess one option always will apply to the solution you have at hand already: Rename the PDF file you generate now, yourself, from VFP. COPY FILE original.pdf TO yourname.pdf is clearly the simplest you can do as aftermath.

I guess the problem is to get out what is printed "based on one of the fields results of that report". Again, more details, please. You can't expect us mind reading.
 
Last edited:

Part and Inventory Search

Sponsor

Back
Top