Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing from within VFP 6.0
Message
De
16/07/1999 09:43:35
 
 
À
09/07/1999 02:03:45
Guy Pardoe
Pardoe Development Corporation
Peterborough, New Hampshire, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Divers
Thread ID:
00238328
Message ID:
00242279
Vues:
25
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform