Information générale
Catégorie:
Produits tierce partie
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement