Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Faxing from Windows 2000 server
Message
De
18/03/2004 11:55:40
 
 
À
18/03/2004 04:19:13
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00887277
Message ID:
00887567
Vues:
11
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform