Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot send a TIFF to fax server...
Message
 
To
25/10/2007 15:55:12
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Miscellaneous
Thread ID:
01263589
Message ID:
01263831
Views:
16
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform