Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing Reports AND Coverpages With WinFax
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00157093
Message ID:
00157407
Vues:
22
> 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")
...
>SET PRINTER TO NAME winfax
>REPORT FORM MyReport TO PRINT NOCONSOLE
>
>RELEASE oWinFax
>
>Hope it helps.

TREMENDOUSLY helpful. Once I used this code,
went to the reading room and re-read section 2
of the SDK, it finally made sense to me. I
had to tweak a couple of things in the code,
but once I understood what I had to do I came
in a bit early and had the code up and running
within about 20 mins. It was really much
easier than the docs implied.

The main thing for folks to remember is
that you can broadcast a fax (i.e. send one
fax to a bunch of recipients) by simply
WITH oWinFax
SELECT FaxList
SCAN
.SetNumber( FaxList.FaxNumber)
.SetTo( FaxList.Name)
*other Set's
.AddRecipient()
ENDSCAN
ENDWITH

and then go one with your report.

Also the docs say that you must destroy and
re-instantiate the SDKSend object for each
new fax that you wish to send, so if everybody
gets the same report then add new recipients,
but if you're batch faxing individual reports
you have to destroy and re-instantiate.

Thanks for the help y'all!

...kt
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform