Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing Reports AND Coverpages With WinFax
Message
De
16/11/1998 00:38:23
Paul Harker
Harker Enterprises, Inc.
Idaho Falls, Idaho, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00157093
Message ID:
00157769
Vues:
28
>>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.

Hey, nice to see my code. I recently modified my app to add cover sheets if the customer wants. You can have a pointer to a filename of the cover sheet. This way you can have users create their own cover sheet and include it with their faxes. I have also worked complex dialing issues (10 digit local vs 7 diget local vs 10 diget diatance and 7 diget distance numbers). Let me know if you have any other WinFax questions.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform