Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot send a TIFF to fax server...
Message
 
À
25/10/2007 15:55:12
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Divers
Thread ID:
01263589
Message ID:
01263831
Vues:
17
Thank you. This is what I have tried and testing it I get this error:

1429 - OLE IDispatch exception code 0 from FaxComEx.FaxDocument.1: Operation failed...Operation failed.FaxComEx.FaxDocument.1

The fax printer is shared and operates normally if I open a document and print to the shared fax print driver. From VFP I tested with a PDF and it opened the viewer but errored before sending the fax. I tried in both Vista and XP Pro.

Any ideas?

Thanks again.



>First, you must prepare valid TIFF or multipage TIFF. Otherwise, you can also send any DOC or PDF document, but application (Word or Acrobat) will open while sending to fax server. Second, if you are remote, the fax printer must be shared and added on your workstation. Third, execute the following lines of code.
>
>oServ=CreateObject("faxcomex.faxserver")
>oServ.Connect("YourFaxServerName")
>oDoc=CreateObject("faxcomex.faxdocument")
>oDoc.Subject = "test"
>oDoc.Recipients.Add("9991234567")
>oDoc.Body = "FileNameWithPath"
>oDoc.ConnectedSubmit(oServ)
>oDoc=null
>oServ=null
>RELEASE oServ, oDoc
>
>P.S.: Server is Win2003 and Client is WinXP.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform