I have sent the procedure to you, but don't know how much help it will be in faxing to a file....
>Tina,
>
>I would also like a copy of the fax procedures, if you don't mind. I am trying to print a Foxpro report to a Fax File, instead of actually sending it. We already have a fax server that will pick up any files that we drop into a specific directory, but I'm having trouble finding a fax driver that does not pop up some dialog box.
>
>Thanks in advance for your help!
>
>Mark Erwin
>
>For private email response: merwin@ayn.com
>
>>Yes, the application works. There are actually two difference fax integrations in the app; the first is the one to fax patient results out overnight, and the second is a fax-on-demand capability from the list/report screen.
>>
>>In pseudocode, the 1st app does this:
>>Open Winfax channel
>>"Poke" the recipient fax #
>>Set the printer to Winfax
>>Print a Foxpro report of all patients for that center
>>
>>It cycles through the list of participating treatment centers, repeating the process for each.
>>
>>The second is a little more sophisticated; the user can filter out a group of treatment centers or staff members, then choose to send a "quick fax" (WinFax cover page only) or to fax a WordPerfect document. The really tricky one, the one I just completed, allows the user to merge the FoxPro data with a WordPerfect document, then fax individualized letters to the members of the list.
>>
>>I have written a set of fax procedures that simplify the syntax for the Winfax DDE calls, if you would like it.