Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can a Report (FRX) be printed from the web?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00789317
Message ID:
00790705
Views:
12
>Hi Timothy,
>Yes you can do this. You need to put the "Report Form .." in a .VFP. COM EXE and call that from your .VFP. mtdll. You can easily pass parameters from the mtdll to the com .exe doing the report. This works well and is documented in a Microsoft report at: http://support.microsoft.com/default.aspx?scid=kb%3Ben-us%3B191639 . To get it in a web readable format, you'd need to use a PDF or HTML printer driver. Print2PDF is a good free one that's available here for download. Others like Amyumni, ActivePDF, and even the Acrobat writer should work as well. Also, since you're using a .VFP. mtdll called from ASP, you might want to download the ActiveVFP framework since it has an example of doing this in the same environment...
>>I have a VFP report that prints just fine from a desktop application. Now, I would like to have users print the report from their Internet browser. How would I go about doing this? I aleady have COM DLL written in VFP that I call from many ASP pages to retrieve and update data in our VFP database. Could I simply do a REPORT FORM ... TO FILE in the COM DLL and print the file it creates in the ASP?
>>
>>Thanks in advance for your help!
>>Tim

Hi Claude!

Thanks for your reply. I finally got this working with the help from Erik using Acrobat PdfWriter 5.0.

Thanks again!
Tim
Previous
Reply
Map
View

Click here to load this message in the networking platform