Solved

Sending Faxes

Posted on 2008-10-22
9
322 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 11

Expert Comment

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

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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

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…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

830 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