![]() FaxServer.Connect “” CheckError(“FaxServer.Connect”) Set FaxDoc = WScript.CreateObject(“FAXCOMEX.FaxDocument”) CheckError(“WScript.CreateObject(FAXCOMEX.FaxDocument)”) ‘Set file name of any printable document. See How to connect to a remote Fax Service for details. ![]() Specify computer name if the server is remote. Here is a sample VB script to programmatically send faxes: Sub CheckError(strDetails) Dim strErr If Err.Number 0 then strErr = strDetails & ” : Exception ” & Err.Description & ” err.Number=0x” & Hex(Err.Number) WScript.Echo strErr WScript.Quit(Err.Number) End If End Sub ON ERROR RESUME NEXT ‘For Windows XP Set FaxServer = WScript.CreateObject(“FAXCOMEX.FaxServer”) CheckError(“WScript.CreateObject(FAXCOMEX.FaxServer)”) WScript.Echo “FaxServer created” ‘Connect to the fax server. Yes, you can submit documents from your application through the Microsoft Fax Wizard and into HylaFSP. A HylaFSP log file will be created in your C: directory. Debug select this check box when you need to troubleshoot a problem with HylaFSP.Notification options radio buttons to select conditions for sending notifications, – on failure only on delivery and / or on failure on retries, delivery and / or failure.E-mail address an e-mail address to send fax delivery notifications (this field is compulsory).Taglines specify whether to be generated by Windows Fax Service or by HylaFAX (the HylaFAX option is recommended).Max Dials maximum number of times the HylaFAX will dial the destination number. ![]() ![]() Max Tries maximum number of times the HylaFAX will try to deliver your fax.This field might not be required in a particular HylaFAX configuration, check with your HylaFAX administrator. Port the HylaFAX port (4559 by default). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |