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
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only