Solved

Sending Faxes

Posted on 2008-10-22
9
320 Views
Last Modified: 2013-12-17
Hello everyone,

I am attempting to use MS Faxing from an application of mine, but have run into a few problems.  I have been able to send some faxes successfully using the code posted below.  My question is how can I send a fax containing multiple documents.  IE: If I want to send a 2 page rtf document followed by a jpg.  Any idea how this can be done??????  Any idea where I can find some documentation on the FaxComExLib???????

Thanks,
Kendal
FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServerClass(); 

					faxServer.Connect("DELLJFYJ361"); 

					

					FAXCOMEXLib.FaxDocument faxDoc = new FAXCOMEXLib.FaxDocumentClass();

					faxDoc.CoverPage = "c:\\testcover.txt";

					faxDoc.Body = FileName;

					faxDoc.DocumentName = DocumentName;

					faxDoc.
 

					FAXCOMEXLib.FaxRecipient faxRec = faxDoc.Recipients.Add(FaxNumber,RecipientName);

					

					faxDoc.ConnectedSubmit(faxServer);					
 

					faxServer.Disconnect();

Open in new window

0
Comment
Question by:gvector1
  • 5
  • 3
9 Comments
 
LVL 11

Expert Comment

by:William
ID: 22782225
You will need to convert the docs and or images to a tiff.
There are some utilities out there for this, however there is nothing in the framework that will give you what you need to do this.
0
 

Author Comment

by:gvector1
ID: 22785670
Is there any decent documentation out there on this library and how can I programmatically convert these documents to a single tiff image?
0
 

Author Comment

by:gvector1
ID: 22785774
Also, I ended up having to add a fax printer that refers to my fax server to my Printers and Faxes list.  Is there some way to streamline this process across over 100 machines on the network.  I am wanting to having faxing capability from my windows application that runs on over 100 machines on the network, but it would be too time consuming to require that every machine have a fax printer installed individually.  Even then, if another person logs onto a machine, then the fax printer would have to be installed for that person.  Any ideas on this?????
0
 
LVL 11

Expert Comment

by:William
ID: 22799305
Sorry I have been out for a while...
Where are you at on this?
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 

Author Comment

by:gvector1
ID: 22799420
I am still stuck at my last post.  Is it required to have a faxprinter installed on every machine that will use the fax service?  If so how can I streamline this process?  Is there any decent documentation on the FaxComExLib?  Lastly, how can I go about converting multiple docs into a single tiff???
0
 
LVL 11

Accepted Solution

by:
William earned 500 total points
ID: 22799994
FaxComExLib - No real god library ..  On my fax project I gave up on this and used FaxMan - Super Easy and totally .net supported :)

As for rolling it out to 100+ users...  FaxMan has the ability to be a FaxServer and or Printer...
Price is pretty reasonable as well if I remember correctly, if you are intent on using the FaxComExLib, I do not know anyone who has deployed this with .net at the level you need. It is nothing more than a 100% COM wrapper...   It got very ugly for me when we loaded it on the server...  It will always leak mem and kill the server (2003 SRV).

I wish there was a ms solution to THIER very own software, but on a tk call with them, they strongly suggested using a 3rd party tool for .net.
0
 

Author Comment

by:gvector1
ID: 22942324
Thanks for the info BillyDvD.  Question about FaxMan:

To use it in a client server environment, I am guessing that I would write a server component to run on my faxserver, and then write my client applications to interface the server???

Or does it have a server that I can use by default from my client applications???

Thanks,
Kendal
0
 

Author Closing Comment

by:gvector1
ID: 31508975
Thanks for the info Billy.  I will look more into FaxMan, it appears to be a good solution.  
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now