Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Faxing from Windows 2000 server
Message
From
18/03/2004 11:55:40
 
 
To
18/03/2004 04:19:13
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00887277
Message ID:
00887567
Views:
10
No the fax printer is not shared, in fact it cannot be share.

Other questions for you or anybody else.

A) If I want to fax a VFP report, do I have to print the report first in a pdf/txt format then send it?

B) I've been able to send a fax using the send method but there is no way to get information back from it. To get a job Queue and get information back for it, it says to use either submit or connectsubmit, neither of them work.


Here's my code:
loFaxServer = CreateObject('FaxServer.FaxServer')
loFaxServer.Connect('machineName')

loFaxDoc = loFaxServer.CreateDocument('c:\faxfax.pdf') && Can it be a VFP report? How?

loFaxDoc.FaxNumber = '999 9999999'
loFaxDoc.RecipientName = 'Name'
loFaxDoc.Send() && This Works
OR
loFaxDoc.ConnectedSubmit(loFaxServer) && Doesn't work
OR
loFaxDec.Submit('machineName') && Doesn't work



Here's the SDK info I'm looking at:

Visual Basic Syntax[Visual Basic]
[ vFaxOutgoingJobIDs = ] FaxDocument.Submit ( bstrFaxServerName )


Visual Basic Syntax[Visual Basic]
[ vFaxOutgoingJobIds = ] FaxDocument.ConnectedSubmit ( FaxServer )



TIA
Diane Robitaille eng.
Previous
Reply
Map
View

Click here to load this message in the networking platform