Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Print2pdf does not work on Win7
Message
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01564394
Message ID:
01564859
Views:
55
>>>>>>I have spent the last few hours trying to get the old program print2pdf working on my Windows 7 PC. My partner had no problems getting it to work on his Window XP PC. I moved everything to drive c:. I downloaded the latest versions of Ghostscript and the Adobe winsteng.exe. The problem appears to be with winsteng.exe. Although I downloaded it from the Adobe site it has a date of 2002 and does not want to install on Win 7.
>>>>>>
>>>>>>I either have to get print2pdf working or find some other way to get VFP 9 reports to print to PDF files. Any ideas?
>>
>>Thanks Tore and everyone else for the input.
>>
>>We have used XFRX for a number of years now and love it. The problem is that our main source of income is now 17 years old and was converted from DOS about 10 or so years ago. Most of the 278 reports came from DOS and were easily converted to VFP 6. (Now VFP 9) When we run the reports with report writer set to VFP 9 or run them with XFRX to PDF all numeric fields show all asterisks. It's a font and size thing and requires spending some time reworking each report. We where looking for an easy way out as we have only converted about 30 of the most requested reports so far. Not a lot of work on each but a whole bunch of reports.
>>
>>After looking at all the options and what is required to install any other method to print to PDF files we decided that we will continue to convert the reports and use XFRX. It is so superior in every way to any other method available to VFP in terms of installing and support required. More work up front but much less later. Just got to get through the other 250 reports.
>
>
>The FRX files are tables. Could you open them up, iterate through various fields, determine their alignment and then adjust their position as necessary programmatically? Also, we've found that sometimes picture clauses while keeping the control the same size can prevent the asterisks.


Problem Solved!
Messing around with XFRX I tried a different method of loading XFRX per the samples shown in the Documentation.

By loading with:
loSession= xfrx("XFRX#INIT")
instead of:
loSession = eval('XFRX("XFRX#LISTENER")')

All the reports are now rendered properly with no asterisks and no rewrites.
Thanks again to everyone for the help.
Beer is proof that God loves man, and wants him to be happy. - Benjamin Franklin
John J. Henn
Previous
Reply
Map
View

Click here to load this message in the networking platform