Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Once Again: WinFax and VFP
Message
De
24/07/1997 20:50:08
 
 
À
23/07/1997 15:27:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00041379
Message ID:
00041569
Vues:
31
After you have sent your recipient information to Winfax, trying the following:

** Set printer to WinFax
APRINTERS(laprinters)
IF ASCAN(laprinters,"WinFax") > 0
SET PRINTER TO NAME "WINFAX"
ENDIF

REPORT FORM ReportName NOCONSOLE TO PRINTER

** Sends a request to WinFax to NOT display the Send dialog.
llsuccess = DDEPOKE(lnchan, "sendfax", 'showsendscreen("0")')


>I am writing a VFP application from which I need to be able to fax FoxPro report output. Each recipient will have a separate report, based on his or her own data. The client would prefer that the reports be nicely formatted -- not ASCII text output.
>
>I have been considering DDE calls from VFP to WinFax, and the WinFax help file contains an example that will do the trick -- but only if you are willing to have VFP write ASCII reports that can be attached to the faxes. Is there a way to use DDE to capture the REPORT command's output with the WinFax printer driver, add a cover sheet and the necessary routing information, and (without user intervention) load the faxes into WinFax for sending?
>
>In reviewing previous messages, I definitely get the impression that this has been done, and that the preferred solution is DDE calls to WinFax. I am new to the Universal Thread, and maybe my search skills are lacking, but I never found any details on how to accomplish what I am trying to do. If anyone can offer any suggestions, I would be most appreciative. Thanx very much.
>
>Steve
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform