Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from within VFP 6.0
Message
From
16/07/1999 09:43:35
 
 
To
09/07/1999 02:03:45
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, United States
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00238328
Message ID:
00242279
Views:
24
>FUNCTION FaxIt
>oFax=CreateObject('WinFax.SDKSend8.0')
>oFax.LeaveRunning
>
>oFax.SetTo(lcTo)
>oFax.SetCompany(lcCompany)
>oFax.SetSubject(lcSubject)
>oFax.SetNumber(lcFaxNo)
>oFax.AddAttachmentFile("")
>oFax.SetCoverFile("C:\Program Files\Symantec\Winfax\Cover\BASIC1.CVP") oFax.SetCoverText(" ")
>oFax.SetPrintFromApp(1)
>oFax.AddRecipient
>oFax.Send(0)
>
>
>REPORT FORM mycursor TO PRINTER NOCONSOLE
>
>oFax=.NULL.

Thanks for the code snippet Markus. I've been wading through the SDK documentation that comes with WinFaxPro and having this program available to cross reference back to their Visual Basic examples has been a tremendous time saver.

However, I was wondering, is there any way to programmatically select the WinFax printer driver? I'd like to be able to relieve the user of the responsibility of selecting the WinFax printer driver before running a batch fax job. My current solution is to have a "printer set up" button on the report dialog that calls SYS(1037). For total flexibility, it might be even better if I could determine which printer driver is loaded and warn the user if it's not the WinFax driver. Then the user could still print to paper if necessary.

Thanks again
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform