Solved

Sending Faxes

Posted on 2008-10-22
9
319 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
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Sorry I have been out for a while...
Where are you at on this?
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:gvector1
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
Thanks for the info Billy.  I will look more into FaxMan, it appears to be a good solution.  
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

762 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

7 Experts available now in Live!

Get 1:1 Help Now