Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Print Web Service
Message
De
04/06/2002 04:27:22
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Web Services
Titre:
Print Web Service
Divers
Thread ID:
00664345
Message ID:
00664345
Vues:
47
I want to create a web service in VFP that should allow you to
pass in the stylekey and reportkey and then print the report to PDF (using amyuni PDF writer). Then serve the report back to the client to show in the web browser or save or send to print.

Has anyone worked on such a project? If so do you have any advice.

Of course you cannot print in an OLEPUBLIC class. Which would be may big feature request! As evident in the following code.

DEFINE CLASS PDFService AS OLEPUBLIC
ReportFile=""
StyleKey=""
REPORT FORM this.ReportFile TO PRINTER
ENDDEFINE

I guess I could create a little EXE file that could run and create the report but I'm not sure if this is feasible either.

In addition I could make the WebService in .NET however 99% of the reports we have are done in VFP.
Any comments?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform