Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing Reports AND Coverpages With WinFax
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00157093
Message ID:
00157185
Views:
25
>Keith,
>There is an option to control this. I had implemented a winfax DDE link a few years ago that successfully did this, so I know it is possible. If you can't find the option, let me know and I'll dig out the code and look it up.
>
>FYI, I believe WF 8+ is OLE, whereas 7- was only DDE. The object approach may give more control, but I haven't had time to look into it.
>
>-Ed

I haven't used DDE, but here's what I've got via OLE (with some help from another thread here):

oWinFax = CreateObject("WinFax.SDKSend")
oWinFax.SetSubject("Test Fax")
oWinFax.SetNumber("1234567")
oWinFax.SetAreaCode("555")
oWinFax.SetCompany("Some Company")
oWinFax.AddRecipient() && Required
oWinFax.SetPrintFromApp(1)
oWinFax.AddAttachmentFile("")
oWinFax.Send()

SET PRINTER TO NAME winfax
REPORT FORM MyReport TO PRINT NOCONSOLE

RELEASE oWinFax

Hope it helps.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform